Henry Wang
a1887b2b7d
Fix paper-io bot
...
* Reset the movement array as soon as it hits it's land
2017-11-20 20:21:52 -06:00
Henry Wang
2bea2e8b7a
Update bot mode, add paper-io bot
2017-11-17 01:49:49 -06:00
Henry Wang
ebc5e93ae5
Update dependencies
2017-11-17 01:38:11 +00:00
Henry Wang
73bf9f86f2
Reconnect bot if error occurs
2017-11-14 12:54:11 -06:00
Henry Wang
64d9c5e6bc
Ignore BOTs
2017-11-03 18:24:43 -05:00
Henry Wang
d83ec69553
First generation of bots!
2017-11-03 18:05:50 -05:00
Henry Wang
efd5f58b9e
Fix some node paths
2017-10-30 23:06:50 -05:00
Henry Wang
1bb7997879
Add package lock file
2017-10-31 03:38:56 +00:00
Henry Wang
0df331b04a
Modify color generating algo and update logging
2017-10-30 22:11:38 -05:00
Henry Wang
ca82979c7c
Update gitignore
2017-10-31 02:50:17 +00:00
Henry Wang
be477f780e
Remove npm-debug.log
2017-10-30 21:25:54 -05:00
Henry Wang
2ddfc7c0a0
Modularize Node.js project
2017-10-30 21:24:39 -05:00
Henry Wang
d7f1af47e2
Fix global var issue
2017-09-04 17:59:35 -05:00
Henry Wang
454fc98865
Remove frame verification
2017-09-04 14:33:29 -05:00
Henry Wang
e78c78cefc
Remove frame verification
2017-09-04 14:32:26 -05:00
Henry Wang
893a19dbd8
Fix error
2017-09-04 13:54:30 -05:00
Henry Wang
870c939bcc
Fix bot code
2017-09-04 12:23:12 -05:00
theKidOfArcrania
858b8f0434
Add bot stub
2017-09-04 16:53:37 +00:00
theKidOfArcrania
c8cd3d474b
Separate rendering and client code, fixes #3
2017-09-04 16:27:08 +00:00
Henry Wang
7ff47d8efc
Game size adjusts to window
2017-04-17 16:14:25 -05:00
theKidOfArcrania
8d50dc1d54
Update playground link
2017-04-17 13:04:22 -05:00
theKidOfArcrania
075b55d5ec
Fix some rendering stuff
2017-03-12 18:47:14 +00:00
theKidOfArcrania
f83ca3dc04
Add stats screen, change name to Blockly.IO
2017-03-04 12:44:27 +00:00
Henry Wang
c18d656eb1
Add name restriction
2017-03-03 15:52:59 -06:00
Henry Wang
d86454ffc4
Copy static files to local server
2017-03-02 18:27:55 -06:00
Henry Wang
57efbb5837
Use correct host in game client
2017-03-02 18:00:09 -06:00
Henry Wang
c65cfe14b2
Add changing host options
2017-03-02 17:36:11 -06:00
theKidOfArcrania
01b0b5833c
Have the leaderboard bars roll animate up and down
2017-03-02 22:38:29 +00:00
theKidOfArcrania
6949374b8e
Check if we can connect with WS
2017-03-02 19:02:03 +00:00
theKidOfArcrania
fab29a8f75
UI impls and bug fixes.
...
* Implement leaderboard (shows top five players).
* Make color be decided on server side (make sure we reuse the correct colors)
* Better cache frames during 'requestFrames' mechanism
* Make sure we die when we disconnect.
* Make sure that new client doesn't consider all players as new clients (remove newPlayerFrames, and use Player.waitLag instead)
* Have default player name be empty (or "Unnamed")
* Fix refresh issue when new player joins game.
2017-03-02 06:49:46 +00:00
theKidOfArcrania
8352433fa5
Optimize flood-fill and fix OBOB + player bug
...
The flood-fill had allocated a good amount of memory ~1MB each time we visit a square. This is reduced to the grid size squared, only allocated if the square we are on now is valid.
The OBOB error occured when server was updating one time too few when a player is initialized.
The player bug occurs when a new player joins the game. Normally each new player gets about 60ish frames of lag to start up. However, the new player client incorrectly assumes all other players are new as well.
2017-03-01 00:56:56 +00:00
theKidOfArcrania
e8fd5d1f7c
Fix some bugs, start up screen
2017-02-28 07:21:27 +00:00
theKidOfArcrania
cb1740c117
Add running instructions.
2017-02-26 18:26:22 -06:00
theKidOfArcrania
87054842de
Don't repaint unnecessary frames (when we lag)
2017-02-27 00:23:02 +00:00
theKidOfArcrania
bdfc2984ee
Fix a race condition
2017-02-26 23:59:49 +00:00
theKidOfArcrania
134d4e4cc0
Fix OBOE error :( And tidy up code
2017-02-26 23:01:57 +00:00
Henry Wang
6bc7ef86cc
Server now works! (Fix two bugs)
2017-02-26 01:31:45 -06:00
Henry Wang
f902663904
Slow down server. Remove node_modules
2017-02-25 22:25:06 -06:00
theKidOfArcrania
88a6195fe8
Server and client code completed (with bugs).
2017-02-26 02:36:44 +00:00
theKidOfArcrania
916c50e162
Server logic for each game
2017-02-25 23:52:52 +00:00
Henry Wang
52dc9a068f
Show rank.
2017-02-25 00:09:34 -06:00
Henry Wang
209e4da6f9
Fix some collision and rendering bugs
2017-02-24 23:33:34 -06:00
Henry Wang
777a76e94e
Zoom now works.
2017-02-24 22:59:05 -06:00
Henry Wang
7e6f2505b4
Zoom depending on player's area. Not done
2017-02-24 18:57:13 -06:00
Henry Wang
4a0bd33a44
UI Changes
2017-02-24 01:17:49 -06:00
Henry Wang
6e9377387d
Add socket.io
2017-02-24 00:49:41 -06:00
theKidOfArcrania
370d13cdc8
Update README.md
2017-02-23 22:38:52 -06:00
theKidOfArcrania
6a793007a3
Create LICENSE
2017-02-23 22:37:07 -06:00
theKidOfArcrania
d4c82cbff2
Create README.md
2017-02-23 22:36:15 -06:00
Henry Wang
bf3a0e2bcf
Change to Node.js project. Add some server tests.
2017-02-23 22:10:36 -06:00