Sacha Ligthert sacha
sacha closed issue golang/rowboz#3 2023-12-06 20:32:11 +01:00
Rework robots and trash
sacha pushed to trunk at golang/rowboz 2023-12-06 20:32:11 +01:00
84a9ee5c52 Refactored how robots are handled. Closes #3
sacha pushed to trunk at golang/rowboz 2023-12-06 19:26:09 +01:00
fa37a4740b Cleaning up, followed by start of a rewrite of the deleteRobot() function.
85ca0b0f86 Better method comparing Position's.
adefe7bd20 Disable trash debug for now.
2c7c17e727 Change game-logic a bit. Reduces trash. Addresses #3 and #11.
Compare 4 commits »
sacha pushed to trunk at golang/rowboz 2023-12-05 23:50:00 +01:00
f0ad3157f3 Move printing around, gives a more accurate result.
sacha opened issue golang/rowboz#11 2023-12-05 23:44:15 +01:00
Prevent players from teleporting onto trash.
sacha commented on issue golang/rowboz#2 2023-12-05 23:31:16 +01:00
Only capture valid keyboard input

PEBKAC 😒

sacha closed issue golang/rowboz#2 2023-12-05 23:31:16 +01:00
Only capture valid keyboard input
sacha pushed to trunk at golang/rowboz 2023-12-05 23:29:48 +01:00
063cab6521 Initalizes robots during initialization(), prevents weird behaviour.
sacha pushed to trunk at golang/rowboz 2023-12-05 23:21:01 +01:00
a349d221f1 Bring movePlayer() in to line with the rest.
sacha pushed to trunk at golang/rowboz 2023-12-04 01:32:07 +01:00
6a5db168e9 Pre-sleep note-to-self
sacha pushed to trunk at golang/rowboz 2023-12-04 01:27:22 +01:00
0d7a141830 Clean up of code.
sacha closed issue golang/rowboz#6 2023-12-04 01:26:09 +01:00
Prevent the player from moving outside the bounds if it ends up in the wall (via teleport)
sacha closed issue golang/rowboz#7 2023-12-04 01:11:37 +01:00
With the destruction of each robot, up the score.
sacha pushed to trunk at golang/rowboz 2023-12-04 01:11:37 +01:00
371de84218 Score whenever a robot gets destroyed. Closes #7.
sacha closed issue golang/rowboz#5 2023-12-04 01:04:53 +01:00
Rewrite teleport() to use randPos().
sacha pushed to trunk at golang/rowboz 2023-12-04 01:04:53 +01:00
d77d84a891 Simplified the teleport function. Closes #5
sacha closed issue golang/rowboz#4 2023-12-04 01:01:48 +01:00
Refactor how randPos() operates
sacha pushed to trunk at golang/rowboz 2023-12-04 01:01:48 +01:00
2e13d93a53 Fixes #4, additional debug
sacha opened issue golang/rowboz#10 2023-12-04 00:45:02 +01:00
Add emoji support