Commit Graph

35 Commits

Author SHA1 Message Date
55fe2fb538 Limit input size 2020-11-29 15:49:01 +01:00
00ea1759d4 Do not display unsupported key in debug 2020-11-29 15:46:07 +01:00
9c17bcfeb8 Fix prompt resetting when switching to ascii mode 2020-11-29 15:43:04 +01:00
27be72f3be fixup! Add ascii mode: @ print the board using only ascii 2020-11-29 01:51:21 +01:00
cb6ad49e85 Fix error display 2020-11-29 01:47:13 +01:00
69adc99e19 Add ascii mode: @ print the board using only ascii 2020-11-29 01:20:23 +01:00
4c54d9b5e5 Do not take client input when it's not his turn 2020-11-29 00:02:53 +01:00
8d098c1ea4 fixup! Fix display issues 2020-11-22 20:36:11 +01:00
fdb701dbf1 Fix display issues 2020-11-22 16:15:58 +01:00
11e3c7d48e Add termion dependency to manage UI 2020-11-15 21:18:03 +01:00
7f2ec8e957 Refactor messages between server and client 2020-09-19 00:17:35 +02:00
7a889356b3 Show opponent last move 2020-08-06 00:21:27 +02:00
1fb3194786 Print version in log
Release 0.2.0
2020-08-05 23:00:51 +02:00
ee7d52f401 Show the username that played received move 2020-05-23 22:36:24 +02:00
c692be6159 Do not use cpu when waiting for opponent move. 2020-05-04 23:45:34 +02:00
2c4b339bc2 Refactor code to simplify client deconnection 2020-05-03 19:44:49 +02:00
56699033d9 Default side for black player is black 2020-05-03 18:51:25 +02:00
38d9026865 Detect when a waiting player disconnects 2020-03-16 00:25:55 +01:00
5796d742f6 Fix showing user black is avaiable when its not 2020-03-15 23:08:53 +01:00
b7ca43be33 Use channel for server messages in client threads 2020-03-07 22:46:40 +01:00
3725457134 Parse UCI and FEN moves 2020-03-07 13:07:55 +01:00
749bef8f78 Update shakmaty dependency 2020-03-07 13:07:25 +01:00
7bbf64c964 Remove debug println in client 2020-03-07 12:20:33 +01:00
1ad6215052 Remove useless dependency 2020-03-05 22:11:54 +01:00
e42c102135 Fix concurrency issue when choosing role 2020-03-01 20:14:20 +01:00
bf32298884 Real user disconnection management 2020-03-01 19:30:26 +01:00
0a2aba9619 Manage when user leave during connection. 2020-03-01 19:09:39 +01:00
175e8fafe6 Ask for role on connection 2020-02-19 12:23:15 +01:00
2cd79b6715 Manage client disconnect case where he is waiting 2020-01-26 13:42:17 +01:00
c558c42b09 Manage ctrl c when it's user turn to input 2020-01-19 16:05:42 +01:00
3938530912 Manage the end of the game. 2020-01-05 22:51:57 +01:00
2c97d4b023 Get username and public key from ssh server. 2020-01-05 22:38:49 +01:00
0cff0e13da 2 clients can play and see each other moves. 2020-01-03 22:54:52 +01:00
ae632df144 Server and client communicates through unix socket 2019-12-17 01:09:17 +01:00
fcc5d5727a First commit 2019-12-14 23:37:46 +01:00