Richard Harrington
5885ecc7b2
tmp not exactly working, but closer!
2022-08-01 10:40:11 -04:00
Richard Harrington
3768178133
start restoring compojure (not entirely working yet)
2022-08-01 10:19:24 -04:00
Richard Harrington
8d4e942435
fix indentation in source_programs.clj
2022-07-30 15:49:15 -04:00
Richard Harrington
e9eb478a54
got rid of core.match
2015-07-22 17:52:48 -04:00
Richard Harrington
90e31a4b22
whitespace
2015-07-22 17:38:45 -04:00
Richard Harrington
8923ee9ef7
standardizes routing; adds check for request method
2014-10-12 11:51:21 -04:00
Richard Harrington
ca7b2dfb4b
refactors get-programs using threading operator
2014-10-12 11:26:48 -04:00
Richard Harrington
5893e4b5e6
whitespace and other cosmetic changes
2014-10-12 11:25:32 -04:00
Frederik Andersen
595d5cde66
removed Compojure as a dependency, routing code changed
2014-10-08 18:48:49 +02:00
Richard Harrington
45a05fe236
changed shot distance slightly
2013-09-03 20:13:15 -04:00
Richard Harrington
499602baa6
moved shell and shell-id to top level of world
2013-09-03 12:34:45 -04:00
Richard Harrington
d0ab2bd8b8
reduced range of top shooter and left shooter
2013-09-02 21:22:02 -04:00
Richard Harrington
8e0477cc15
rewrote the robot source programs to take evasive action upon damage
2013-09-02 21:00:53 -04:00
Richard Harrington
b7c1e689a6
implemented 'damage' to robots on collision
...
although they don't die yet -- their capacity
for damage is infinite.
also, the damage is just one point per collision --
it's in no way proportional to kinetic energy yet.
2013-09-02 20:45:57 -04:00
Richard Harrington
c03676d000
couple of bug fixes on collision detection
2013-09-02 12:26:51 -04:00
Richard Harrington
8e70c42e3d
got billiard ball collision detection almost working (still wonky)
2013-09-02 11:12:30 -04:00
Richard Harrington
a7cb6a58da
changed comments in robot
2013-09-01 23:14:54 -04:00
Richard Harrington
2ab3336629
curtailed amount of info (And sig-figs) sent for shells
2013-09-01 22:47:59 -04:00
Richard Harrington
de127b654b
fixed merge conflict from stash
2013-09-01 22:35:54 -04:00
Richard Harrington
078f927c29
moved three-sigs logic into physics
2013-09-01 22:34:04 -04:00
Richard Harrington
dd1bf0e1e0
changed aim register so it never goes above 360
2013-09-01 21:58:27 -04:00
Richard Harrington
ef5666d8d2
reduced info per robot being sent to browser (fewer fields, fewer sig-figs per field)
2013-09-01 21:42:52 -04:00
Richard Harrington
b8567a487b
transferring attributes by name (instead of en masse) from world to robot, for clarity
2013-09-01 21:02:53 -04:00
Richard Harrington
8dc42da7bc
sort of got collision detection working. needs tweaks.
2013-08-31 17:23:22 -04:00
Richard Harrington
736b5ac5aa
colliding, but getting stuck. x and y proximity both need to be checked.
2013-08-31 16:52:42 -04:00
Richard Harrington
50e9fa6f68
not crashing any more! collision detection not working, though.
2013-08-30 02:32:42 -04:00
Richard Harrington
dd0d06446e
more slight progress
2013-08-30 02:11:58 -04:00
Richard Harrington
0633ebab2a
in the middle of adding collision detection
2013-08-30 01:26:36 -04:00
Richard Harrington
febad2b5f0
Merge branch 'master' into collision
2013-08-30 00:17:11 -04:00
Richard Harrington
537d31b99b
loading gameInfo now from server, instead of hard-coding from browser
2013-08-30 00:03:43 -04:00
Richard Harrington
9edc004ab0
working on collision detection
2013-08-29 12:48:22 -04:00
Richard Harrington
19260d6b67
added code to handler to return names of available programs, for display in browser
2013-08-24 08:51:27 -04:00
Richard Harrington
ca5b98f241
limited games to five robots. cuts them off silently if more than five are input
2013-08-24 08:50:33 -04:00
Richard Harrington
21cdd286b2
changed games-store in handler from agent to atom
2013-08-24 08:49:49 -04:00
Richard Harrington
feabfe3145
now allowing robot name input to be comma-separated (was just space-separated before)
2013-08-24 08:48:30 -04:00
Richard Harrington
d03d64bd6a
separated source programs out into regular and dev
2013-08-24 06:37:49 -04:00
Richard Harrington
07bb7db5c9
fixed name of robot in soure-code
2013-08-24 00:55:09 -04:00
Richard Harrington
7c53dcd8fa
fixed handling of invalid robot names (ignores them now)
2013-08-24 00:31:22 -04:00
Richard Harrington
18c3e02084
user input now determines which robots battle
2013-08-24 00:02:09 -04:00
Richard Harrington
29ba6d0700
changed names of programs (to be shorter and easier to type in requests)
2013-08-24 00:01:06 -04:00
Richard Harrington
8012bbb138
changed t physics module to use Java Math/toRadians function
2013-08-23 11:03:47 -04:00
Richard Harrington
cc1dee5418
changed robot acceleration calc to use Java Math/copySign function
2013-08-23 10:53:33 -04:00
Richard Harrington
0945151aab
changed all float coercion to double coercion
2013-08-23 10:51:56 -04:00
Richard Harrington
102a307af8
changed shells to a map-indexed system, for identifying new ones
...
(so far, we can't play the same sound at the same time
anyway, so this change has no visible effect yet)
2013-08-22 15:25:36 -04:00
Richard Harrington
1511a41670
changed the source code situation to be 2 shooters and 2 movers
2013-08-22 14:50:27 -04:00
Richard Harrington
4505b279f9
fixed degree conversion to account for robotwar coordinate system
2013-08-22 12:30:22 -04:00
Richard Harrington
63fd4c157d
hid the deg->rad conversion inside the angle decompose function
2013-08-22 11:24:33 -04:00
Richard Harrington
9b49d3dd60
changed robot shot time, for easier testing
2013-08-22 01:55:17 -04:00
Richard Harrington
b27f1212a1
got rid of comment
2013-08-21 22:10:25 -04:00
Richard Harrington
3ee19087e1
fixed equality error causing shells to sometimes proliferate out of control
2013-08-21 21:59:30 -04:00