Skip to content

Commit

Permalink
Validation games added to the framework
Browse files Browse the repository at this point in the history
  • Loading branch information
diegopliebana authored and diegopliebana committed Jul 5, 2018
1 parent 9f43fe4 commit a0e2674
Show file tree
Hide file tree
Showing 64 changed files with 1,443 additions and 189 deletions.
15 changes: 1 addition & 14 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 0 additions & 76 deletions build.xml

This file was deleted.

192 changes: 101 additions & 91 deletions examples/all_games_sp.csv
Original file line number Diff line number Diff line change
Expand Up @@ -19,94 +19,104 @@
18,examples/gridphysics/chase.txt
19,examples/gridphysics/chipschallenge.txt
20,examples/gridphysics/chopper.txt
21,examples/gridphysics/clusters.txt
22,examples/gridphysics/colourescape.txt
23,examples/gridphysics/cookmepasta.txt
24,examples/gridphysics/cops.txt
25,examples/gridphysics/crossfire.txt
26,examples/gridphysics/defem.txt
27,examples/gridphysics/defender.txt
28,examples/gridphysics/deflection.txt
29,examples/gridphysics/digdug.txt
30,examples/gridphysics/donkeykong.txt
31,examples/gridphysics/doorkoban.txt
32,examples/gridphysics/dungeon.txt
33,examples/gridphysics/eggomania.txt
34,examples/gridphysics/eighthpassenger.txt
35,examples/gridphysics/enemycitadel.txt
36,examples/gridphysics/escape.txt
37,examples/gridphysics/factorymanager.txt
38,examples/gridphysics/firecaster.txt
39,examples/gridphysics/fireman.txt
40,examples/gridphysics/firestorms.txt
41,examples/gridphysics/freeway.txt
42,examples/gridphysics/frogs.txt
43,examples/gridphysics/garbagecollector.txt
44,examples/gridphysics/ghostbuster.txt
45,examples/gridphysics/gymkhana.txt
46,examples/gridphysics/hungrybirds.txt
47,examples/gridphysics/iceandfire.txt
48,examples/gridphysics/ikaruga.txt
49,examples/gridphysics/infection.txt
50,examples/gridphysics/intersection.txt
51,examples/gridphysics/islands.txt
52,examples/gridphysics/jaws.txt
53,examples/gridphysics/killBillVol1.txt
54,examples/gridphysics/labyrinth.txt
55,examples/gridphysics/labyrinthdual.txt
56,examples/gridphysics/lasers.txt
57,examples/gridphysics/lasers2.txt
58,examples/gridphysics/lemmings.txt
59,examples/gridphysics/mirrors.txt
60,examples/gridphysics/missilecommand.txt
61,examples/gridphysics/modality.txt
62,examples/gridphysics/overload.txt
63,examples/gridphysics/pacman.txt
64,examples/gridphysics/painter.txt
65,examples/gridphysics/plants.txt
66,examples/gridphysics/plaqueattack.txt
67,examples/gridphysics/pokemon.txt
68,examples/gridphysics/portals.txt
69,examples/gridphysics/racebet.txt
70,examples/gridphysics/racebet2.txt
71,examples/gridphysics/realportals.txt
72,examples/gridphysics/realsokoban.txt
73,examples/gridphysics/rivers.txt
74,examples/gridphysics/roadfighter.txt
75,examples/gridphysics/roguelike.txt
76,examples/gridphysics/run.txt
77,examples/gridphysics/seaquest.txt
78,examples/gridphysics/sheriff.txt
79,examples/gridphysics/shipwreck.txt
80,examples/gridphysics/sokoban.txt
81,examples/gridphysics/solarfox.txt
82,examples/gridphysics/superman.txt
83,examples/gridphysics/surround.txt
84,examples/gridphysics/survivezombies.txt
85,examples/gridphysics/tercio.txt
86,examples/gridphysics/thecitadel.txt
87,examples/gridphysics/themole.txt
88,examples/gridphysics/theshepherd.txt
89,examples/gridphysics/thesnowman.txt
90,examples/gridphysics/vortex.txt
91,examples/gridphysics/waitforbreakfast.txt
92,examples/gridphysics/watergame.txt
93,examples/gridphysics/waves.txt
94,examples/gridphysics/whackamole.txt
95,examples/gridphysics/wildgunman.txt
96,examples/gridphysics/witnessprotected.txt
97,examples/gridphysics/witnessprotection.txt
98,examples/gridphysics/wrapsokoban.txt
99,examples/gridphysics/x-racer.txt
100,examples/gridphysics/zelda.txt
101,examples/gridphysics/zenpuzzle.txt
102,examples/contphysics/artillery.txt
103,examples/contphysics/asteroids.txt
104,examples/contphysics/bird.txt
105,examples/contphysics/bubble.txt
106,examples/contphysics/candy.txt
107,examples/contphysics/lander.txt
108,examples/contphysics/mario.txt
109,examples/contphysics/pong.txt
110,examples/contphysics/ptsp.txt
111,examples/contphysics/racing.txt
21,examples/gridphysics/circuit.txt
22,examples/gridphysics/clusters.txt
23,examples/gridphysics/colourescape.txt
24,examples/gridphysics/cookmepasta.txt
25,examples/gridphysics/cops.txt
26,examples/gridphysics/crossfire.txt
27,examples/gridphysics/defem.txt
28,examples/gridphysics/defender.txt
29,examples/gridphysics/deflection.txt
30,examples/gridphysics/digdug.txt
31,examples/gridphysics/donkeykong.txt
32,examples/gridphysics/doorkoban.txt
33,examples/gridphysics/dungeon.txt
34,examples/gridphysics/eggomania.txt
35,examples/gridphysics/eighthpassenger.txt
36,examples/gridphysics/enemycitadel.txt
37,examples/gridphysics/escape.txt
38,examples/gridphysics/explore.txt
39,examples/gridphysics/factorymanager.txt
40,examples/gridphysics/firecaster.txt
41,examples/gridphysics/fireman.txt
42,examples/gridphysics/firestorms.txt
43,examples/gridphysics/freeway.txt
44,examples/gridphysics/frogs.txt
45,examples/gridphysics/garbagecollector.txt
46,examples/gridphysics/ghostbuster.txt
47,examples/gridphysics/glow.txt
48,examples/gridphysics/grow.txt
49,examples/gridphysics/gymkhana.txt
50,examples/gridphysics/hungrybirds.txt
51,examples/gridphysics/iceandfire.txt
52,examples/gridphysics/ikaruga.txt
53,examples/gridphysics/infection.txt
54,examples/gridphysics/intersection.txt
55,examples/gridphysics/islands.txt
56,examples/gridphysics/jaws.txt
57,examples/gridphysics/killBillVol1.txt
58,examples/gridphysics/labyrinth.txt
59,examples/gridphysics/labyrinthdual.txt
60,examples/gridphysics/lasers.txt
61,examples/gridphysics/lasers2.txt
62,examples/gridphysics/lemmings.txt
63,examples/gridphysics/link.txt
64,examples/gridphysics/mirrors.txt
65,examples/gridphysics/missilecommand.txt
66,examples/gridphysics/modality.txt
67,examples/gridphysics/overload.txt
68,examples/gridphysics/pacman.txt
69,examples/gridphysics/pacoban.txt
70,examples/gridphysics/painter.txt
71,examples/gridphysics/plants.txt
72,examples/gridphysics/plaqueattack.txt
73,examples/gridphysics/pokemon.txt
74,examples/gridphysics/portals.txt
75,examples/gridphysics/racebet.txt
76,examples/gridphysics/racebet2.txt
77,examples/gridphysics/realportals.txt
78,examples/gridphysics/realsokoban.txt
79,examples/gridphysics/rivers.txt
80,examples/gridphysics/roadfighter.txt
81,examples/gridphysics/roguelike.txt
82,examples/gridphysics/run.txt
83,examples/gridphysics/seaquest.txt
84,examples/gridphysics/sheriff.txt
85,examples/gridphysics/shipwreck.txt
86,examples/gridphysics/slide.txt
87,examples/gridphysics/sokoban.txt
88,examples/gridphysics/solarfox.txt
89,examples/gridphysics/superman.txt
90,examples/gridphysics/surround.txt
91,examples/gridphysics/survivezombies.txt
92,examples/gridphysics/tercio.txt
93,examples/gridphysics/thecitadel.txt
94,examples/gridphysics/themole.txt
95,examples/gridphysics/theshepherd.txt
96,examples/gridphysics/thesnowman.txt
97,examples/gridphysics/towerdefense.txt
98,examples/gridphysics/vortex.txt
99,examples/gridphysics/waitforbreakfast.txt
100,examples/gridphysics/watergame.txt
101,examples/gridphysics/waves.txt
102,examples/gridphysics/whackamole.txt
103,examples/gridphysics/wildgunman.txt
104,examples/gridphysics/witnessprotected.txt
105,examples/gridphysics/witnessprotection.txt
106,examples/gridphysics/wrapsokoban.txt
107,examples/gridphysics/x-racer.txt
108,examples/gridphysics/zelda.txt
109,examples/gridphysics/zenpuzzle.txt
110,examples/contphysics/artillery.txt
111,examples/contphysics/arkanoid.txt
112,examples/contphysics/asteroids.txt
113,examples/contphysics/bird.txt
114,examples/contphysics/bubble.txt
115,examples/contphysics/candy.txt
116,examples/contphysics/jumper.txt
117,examples/contphysics/lander.txt
118,examples/contphysics/mario.txt
119,examples/contphysics/pong.txt
120,examples/contphysics/ptsp.txt
121,examples/contphysics/racing.txt
47 changes: 47 additions & 0 deletions examples/contphysics/arkanoid.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
BasicGame square_size=25

SpriteSet
background > Immovable img=oryx/space1 hidden=True
avatar > FlakAvatar stype=ballStart physicstype=CONT wMult=4 friction=0.2 mass=0.2 img=oryx/floor3 healthPoints=3 limitHealthPoints=3

balls > Missile orientation=UP speed=20 physicstype=CONT img=oryx/bullet2 shrinkfactor=2 singleton=True
ballStart >
ball >

ballLost > Passive invisible=True hidden=True

brick > Passive img=newset/blockG
brick2 > wMult=2
brick1 >

block > Passive img=newset/block2
longwall > wMult=2
wall >


TerminationSet
SpriteCounter stype=avatar limit=0 win=False
SpriteCounter stype=brick limit=0 win=True

InteractionSet

ballStart brick block > transformToAll stype=ballStart stypeTo=ball

brick ball > killSprite scoreChange=2

ball avatar > bounceDirection
ball block > wallBounce
avatar block > wallStop

ball EOS > subtractHealthPoints stype=avatar value=1
ball EOS > transformTo stype=ballLost
ball brick > wallBounce

LevelMapping
. > background
o > background ball
m > background brick2
n > background brick1
b > background longwall
w > background wall
A > background avatar
20 changes: 20 additions & 0 deletions examples/contphysics/arkanoid_lvl0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
wwwwwwwwwwwwwwwwwwwwwww
w.....................w
w.....................w
wnm.m.m.m.m.m.m.m.m.m.w
wm.m.m.m.m.m.m.m.m.m.nw
wnm.m.m.m.m.m.m.m.m.m.w
wm.m.m.m.m.m.m.m.m.m.nw
wnm.m.m.m.m.m.m.m.m.m.w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.........A...........w
w.....................w
20 changes: 20 additions & 0 deletions examples/contphysics/arkanoid_lvl1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
wwwwwwwwwwwwwwwwwwwwwww
w.....................w
w.....................w
wnm.m.m.m.m.m.m.m.m.m.w
wm.m.b.m.m.m.m.b.m.m.nw
wnm.m.m.m.m.m.m.m.m.m.w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.....................w
w.........A...........w
w.....................w
Loading

0 comments on commit a0e2674

Please sign in to comment.