From 9fc09a4c80de86790d58eb7228279853f4e2ce28 Mon Sep 17 00:00:00 2001 From: stepiiik Date: Sun, 29 Apr 2012 17:35:23 +0200 Subject: [PATCH 1/2] Second box in single player --- client/DartPong.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/DartPong.dart b/client/DartPong.dart index 4da333a..ed24097 100644 --- a/client/DartPong.dart +++ b/client/DartPong.dart @@ -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 ); From 8d17aae24c5bfaf1cc3ad78f8cad739cc237a7f7 Mon Sep 17 00:00:00 2001 From: Petr Kohut Date: Sun, 29 Apr 2012 18:55:36 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f87492a..6ea3df6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,15 @@ dart-pong -========= \ No newline at end of file +========= + +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! \ No newline at end of file