Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
spalas
· 6y ago · 0 comments
Ha! I attempted this a while back but never came up with a good solution for handling user inputs so it was just the computer playing itself...
https://github.com/sidpalas/battleship-sql
This is next level!
Comments
[–]
tyingq
6y ago
Looks like they are getting the user input from the postgres log:
https://github.com/Firemoon777/sql-battleships/blob/master/k...
[–]
spalas
OP
6y ago
Yeah -- Using the second session for grabbing inputs is clever!