Post Reply 
Sokoban game for HP Prime
03-10-2014, 06:24 PM
Post: #28
RE: Sokoban game for HP Prime
I have 1 more change to allow Esc to abort the game.

Code:
          IF TYPE(Ky) == 0 THEN
            IF Ky == 2 THEN DY:=-1; DX:=0; END;
            IF Ky == 7 THEN DY:=0; DX:=-1; END;
            IF Ky == 8 THEN DY:=0; DX:=1; END;
            IF Ky ==12 THEN DY:=1; DX:=0; END;
            IF Ky ==4 THEN abortgame(); END;
          END;

Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Sokoban game for HP Prime - ArielPalazzesi - 01-04-2014, 10:58 AM
RE: Sokoban game for HP Prime - Les_Koller - 01-04-2014, 10:39 PM
RE: Sokoban game for HP Prime - patrice - 01-05-2014, 09:11 AM
RE: Sokoban game for HP Prime - patrice - 01-05-2014, 11:01 AM
RE: Sokoban game for HP Prime - patrice - 01-05-2014, 03:29 PM
Sokoban game for HP Prime - Dante - 01-09-2014, 03:36 PM
RE: Sokoban game for HP Prime - Tugdual - 01-10-2014, 09:59 PM
RE: Sokoban game for HP Prime - patrice - 01-14-2014, 11:25 AM
RE: Sokoban game for HP Prime - patrice - 01-14-2014, 05:42 PM
RE: Sokoban game for HP Prime - patrice - 01-15-2014, 08:37 AM
RE: Sokoban game for HP Prime - patrice - 01-27-2014, 11:21 PM
RE: Sokoban game for HP Prime - patrice - 02-24-2014, 04:05 PM
RE: Sokoban game for HP Prime - patrice - 03-10-2014, 05:15 AM
RE: Sokoban game for HP Prime - patrice - 03-10-2014, 11:50 AM
RE: Sokoban game for HP Prime - patrice - 03-10-2014 06:24 PM
RE: Sokoban game for HP Prime - patrice - 03-14-2014, 11:56 PM
RE: Sokoban game for HP Prime - patrice - 05-30-2014, 09:28 PM
RE: Sokoban game for HP Prime - jonakeys - 03-04-2024, 06:52 PM
RE: Sokoban game for HP Prime - rprosperi - 03-04-2024, 11:01 PM
RE: Sokoban game for HP Prime - jonakeys - 03-05-2024, 06:17 PM



User(s) browsing this thread: 4 Guest(s)