- Published on
Robots Othello
- Authors
-
-
- Name
- David Mohundro
- Bluesky
- @david.mohundro.com
-
-
Write a summary about Robots Othello.
-
Mention Dr. Baird and Coach Rags retiring, link to post
-
Include images, code snippets, etc.
-
Things I’ve learned since college
- local variables are great… for some reason, in school, global vars were how I did everything outside of counters
- I was terrible at duplication!
-
I must have lost the original swf files… the logic for the networking code is earlier than I’m finding. But hard to tell because I was terrible at naming.
-
Version control - we only had Source Safe. It was awful. And we didn’t know what we were doing.
Running FFDec
- install openjdk (
brew install openjdk
) - correct path for Java
# NOTE: to use openjdk instead of system Java
set -gx PATH /opt/homebrew/opt/openjdk/bin $PATH
Debugging
- There is a bug… either in the decompiled SWF or in the GameAI port or something else… not sure where, but something is allowing moves that just aren’t valid. At least when I use the Ruffle + decompiled SWF + GameAI. I’ll have to try it against the compiled SWF with my code to see. I don’t remember if the AI code determines valid moves or if the Flash code does.
Resources
- https://github.com/laenion/dump_projector
- this let me decompile the RobotsServer.exe into a SWF file… because I was missing original SWF files!