coding-horror / basic-computer-games

An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common MEMORY SAFE, SCRIPTING programming languages. See https://coding-horror.github.io/basic-computer-games/
The Unlicense
10.84k stars 1.33k forks source link

AwariGame.java a faithful translation? #545

Open pcholt opened 2 years ago

pcholt commented 2 years ago

@suetanvil I was wondering if your Awari Java implementation is a faithful algorithmic recreation of awari.bas ? I notice references to Random but there are no random numbers generated in the original. I only ask because I was thinking of adding tests to the game, and if the game is non deterministic then that makes the problem more difficult.

suetanvil commented 2 years ago

The Java version was contributed by @Qeubd-Bsjso. I had nothing to do with it. I only show up because I contributed a file rename sometime later.

suetanvil commented 2 years ago

The commit is here, BTW.

pcholt commented 2 years ago

Oops sorry to bother you with it then 😳. @Qeubd-Bsjso can you help with this?

coding-horror commented 2 years ago

@pcholt I think it's fine to fix this if you have time