Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
petrpechacek committed Apr 29, 2012
2 parents a174c49 + 8d17aae commit 7f2d03c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
dart-pong
=========
=========

Classic Pong game variation for up to 4 players with network play feature. Created as Dart Hackaton project in 48 amazing hours.

Technologies used: HTML5, CSS3, Dart and WebSockets.

Contains client part and server as well.

How to play:

1. choose one or 2 screens on start
2. read instruction on screen to play
3. don't be scared when ball hits the wall
4. Enjoy it!
6 changes: 4 additions & 2 deletions client/DartPong.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ class DartPong {
map.add(bottomWall);
killingZones.add(bottomWall);

CollisionObject test = new CollisionObject( 'test', 350, 350, 100, 100, 0, 0 );
map.add(test);
CollisionObject box1 = new CollisionObject( 'box1', 350, 350, 100, 100, 0, 0 );
map.add(box1);
CollisionObject box2 = new CollisionObject( 'box2', 150, 150, 70, 70, 0, 0 );
map.add(box2);


arena = new Arena( map, ball );
Expand Down

0 comments on commit 7f2d03c

Please sign in to comment.