Commit Graph

796 Commits

Author SHA1 Message Date
Jonas Nockert
a814c9980d Refactored header with centering 2021-03-03 23:27:26 +01:00
Jonas Nockert
2899078cd5 Refactored user input into functions 2021-03-03 23:19:00 +01:00
Nahid Mondol
33a93d5829 Updated War.java 2021-03-03 16:49:29 -05:00
Daniel Piron
9bfcfed569 Center and left hand vertical wins correctly detected 2021-03-03 16:44:27 -05:00
Nahid Mondol
7a20c874bc Updated War.java 2021-03-03 16:44:14 -05:00
nanochess
990658b8e6 Ported CRAPS to Javascript 2021-03-03 15:24:21 -06:00
Jeff Atwood
ca285b4c18 Merge pull request #187 from olliehcrook/patch-1
Debug tictactoe2.py
2021-03-03 11:04:39 -08:00
Jeff Atwood
e1d0b25015 Merge pull request #184 from tsmaster/port-checkers
work in progress porting CHECKERS to python
2021-03-03 10:52:38 -08:00
Jeff Atwood
fe4dffaf4d Merge pull request #186 from olliehcrook/ollies-branch
Tic-Tac-Toe java port
2021-03-03 10:51:39 -08:00
Jeff Atwood
b52a1a8765 Merge pull request #183 from qequ/main
Added Python port of Russian Roulette
2021-03-03 10:51:09 -08:00
olliehcrook
cad9b8f816 Debug tictactoe2.py
Fixed board being rendered twice bug when current_player = OccupiedBy.PLAYER.

TL;DR unnecessary print statement
2021-03-03 17:51:36 +00:00
olliehcrook
c1bb374726 Update TicTacToe2.java 2021-03-03 17:37:23 +00:00
olliehcrook
f5d949502b Delete .gitignore 2021-03-03 17:29:03 +00:00
olliehcrook
3ff7a1c486 Delete run.sh 2021-03-03 17:28:33 +00:00
olliehcrook
c6e6192f2b Delete make.sh 2021-03-03 17:28:23 +00:00
olliehcrook
33374413db Merge pull request #1 from olliehcrook/compgames
Compgames
2021-03-03 17:27:41 +00:00
Oliver Hensman-Crook
35845b0962 Tic-Tac-Toe java port 2021-03-03 17:20:46 +00:00
Oliver Hensman-Crook
221fa7fe09 Tic-Tac-Toe java port 2021-03-03 17:18:28 +00:00
Dave LeCompte
7e31c244d7 work in progress porting CHECKERS to python
did a first pass, porting the logic, refactoring into functions. Found a few bugs in the original code:
- when a computer promoted to a king, the original piece would not be removed from the board
- humans could move normal pieces like kings

I've noticed at least one bug where the computer does not promote to a king when reaching row 0
2021-03-03 08:56:30 -08:00
Alvaro Frias Garay
893da91b0c infimous change to print
so it can look exactly like the original
2021-03-03 13:26:19 -03:00
Alvaro Frias Garay
dfa0584fdd Added history comments and porting notes 2021-03-03 13:24:39 -03:00
Alvaro Frias Garay
bc3d0296c5 Added python port of russianroulette 2021-03-03 13:08:24 -03:00
Jonas Nockert
fb34c3ffd6 Python port of SPLAT 2021-03-03 14:05:56 +01:00
Andrew Cooper
a1b257d5ae Add Long Range Sensors 2021-03-03 23:22:16 +11:00
journich
69c728955f Correct comment in method for Java port of Bunny 2021-03-03 17:14:54 +10:30
Dave LeCompte
8e66cbbcc2 port CHANGE to Python
straightforward change(CHANGE!), the biggest modification is that it's considered bad practice to use floating point numbers for dollars, so I converted the entire program to pennies. Exercise for the reader, how about using locale information to try to guess what currency system the user is using?

Also, this clearly comes from a time before ATMs making $20 bills super common.
2021-03-02 22:43:52 -08:00
journich
d891aeca94 Removed debugging output from Java port of Love 2021-03-03 17:10:58 +10:30
journich
01fc5fbd0d Java version of Bunny 2021-03-03 17:09:54 +10:30
Dave LeCompte
6a1794a435 complete port HEXAPAWN to Python
refactoring for more pythonic idioms, moved parallel data arrays into a class, which helped structure board matching functionality and move list updating.

Should be pretty readable now.
2021-03-02 22:07:08 -08:00
Jack Boyce
ad5e2fc79a more cleanup and comments 2021-03-02 20:35:40 -08:00
Jeff Atwood
60b6ff014f Merge pull request #178 from journich/main
Java port of Mugwump
2021-03-02 20:04:38 -08:00
journich
37a9f5203d Java port of Mugwump 2021-03-03 13:56:21 +10:30
Todd Kaiser
0a4e66a6e7 Added ship placement logic without checks for existing ships. Need to add existing ship check. 2021-03-02 19:32:02 -07:00
Jeff Atwood
878b4b1dba Merge pull request #176 from nanochess/main
Ported RUSSIAN ROULETTE to Javascript
2021-03-02 17:56:20 -08:00
Jeff Atwood
9da528f611 Merge pull request #177 from journich/main
Java port of Russian Roulette
2021-03-02 17:52:28 -08:00
journich
16291fdcea Java port of Russian Roulette 2021-03-03 09:40:12 +10:30
nanochess
1f013aa215 Ported COMBAT to Javascript 2021-03-02 16:45:12 -06:00
Andrew Cooper
cbcfebfeb3 Add quadrant names 2021-03-03 09:21:40 +11:00
nanochess
1e8e689e64 Ported RUSSIAN ROULETTE to Javascript 2021-03-02 16:15:13 -06:00
Jeff Atwood
3dea6712f1 Merge pull request #170 from journich/main
Java ports of Nicomachus and Rock Paper Scissors games
2021-03-02 13:56:16 -08:00
Jeff Atwood
491af146d7 Merge pull request #169 from NezumiRonin/patch-8
Create letter.pl
2021-03-02 13:55:40 -08:00
Jeff Atwood
f9cbd06198 Merge pull request #168 from NezumiRonin/patch-7
Create buzzword.pl
2021-03-02 13:55:37 -08:00
Jeff Atwood
55a9ac1c10 Merge pull request #167 from NezumiRonin/patch-6
Create name.pl
2021-03-02 13:55:20 -08:00
Jeff Atwood
2fdc725027 Merge pull request #171 from ideadapt/literature-quiz-javascript-nodejs
Literature quiz javascript nodejs
2021-03-02 13:53:19 -08:00
journich
4109132f34 Java port of Rock Paper Scissors 2021-03-03 08:17:17 +10:30
Jeff Atwood
5d21c8cb31 Merge pull request #174 from nanochess/main
Ported ORBIT to Javascript
2021-03-02 11:21:27 -08:00
nanochess
b37295be0a Ported PIZZA to Javascript 2021-03-02 13:13:44 -06:00
Jeff Atwood
d4fd80bd39 Merge pull request #173 from tsmaster/port-hexpawn
update port HEXAPAWN to Python
2021-03-02 11:04:53 -08:00
nanochess
7c84cffa52 Ported ORBIT to Javascript 2021-03-02 12:56:23 -06:00
Dave LeCompte
3a9e19197d update port HEXAPAWN to Python
mostly working, did major refactoring for clarity and understanding what all of the pieces are doing. Still another round of refactoring to go to make it clearer what's going on, but I think almost all of the logic is correct.

There's what looks like a bug where the human wins by advancing to the back row, and the computer incorrectly says that it has lost because it has no moves. I suspect this is a bug in my logic, but I'll have to trace through the BASIC to verify.

The game is playable and somewhat fun in its current state.
2021-03-02 09:05:13 -08:00