Y
Hacker News
new
|
ask
|
show
|
jobs
by
spalas
2092 days ago
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!
1 comments
tyingq
2092 days ago
Looks like they are getting the user input from the postgres log:
https://github.com/Firemoon777/sql-battleships/blob/master/k...
link
spalas
2092 days ago
Yeah -- Using the second session for grabbing inputs is clever!
link