Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pal@pal-ROG-Strix-GA35DX-G35DX:~/dv1619/lab4-spel/olofssondaniel/np_assignment4$ ./sspd 127.0.0.1:6000
- recived msg: MENU 1
- recived msg: MENU 2
- Watch
- Tempcounter = 0
- recived msg: MENU 1
- Game Ready to start
- recived msg: STOPC
- recived msg: MENU 2
- Watch
- Tempcounter = 0
- recived msg: READY
- Ready recived
- recived msg: READY
- Ready recived
- Båda klienter redo!
- seconds to count = 3
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- seconds to count = 2
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- recived msg: STOPC
- recived msg: MENU 2
- Watch
- Tempcounter = 1
- seconds to count = 1
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- recived msg: WATCH 1
- seconds to count = 0
- efter båda skickas
- sendbytes1: 8
- recived msg: ROUND 1 0
- for loop test
- socket1 answer saved
- Time taken 0
- recived msg: ROUND 2 0
- for loop test
- socket2 answer saved
- Time taken 0
- Both answerd
- sock 2 won
- sendbytes1: 11
- HERE
- seconds to count = 3
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 2
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 1
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 0
- efter båda skickas
- sendbytes1: 8
- recived msg: ROUND 1 0
- for loop test
- socket1 answer saved
- Time taken 0
- recived msg: ROUND 1 0
- for loop test
- socket2 answer saved
- Time taken 0
- Both answerd
- sendbytes1: 11
- HERE
- seconds to count = 3
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 2
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 1
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 0
- efter båda skickas
- sendbytes1: 8
- recived msg: ROUND 1 0
- for loop test
- socket1 answer saved
- Time taken 0
- recived msg: ROUND 1 0
- for loop test
- socket2 answer saved
- Time taken 0
- Both answerd
- sendbytes1: 11
- HERE
- seconds to count = 3
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 2
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 1
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 0
- efter båda skickas
- sendbytes1: 8
- recived msg: ROUND 1 0
- for loop test
- socket1 answer saved
- Time taken 0
- recived msg: ROUND 2 0
- for loop test
- socket2 answer saved
- Time taken 0
- Both answerd
- sock 2 won
- sendbytes1: 11
- HERE
- seconds to count = 3
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 2
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 1
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- sendbytes1: 7
- seconds to count = 0
- efter båda skickas
- sendbytes1: 8
- recived msg: ROUND 2 0
- for loop test
- socket2 answer saved
- Time taken 0
- recived msg: ROUND 1 0
- for loop test
- socket1 answer saved
- Time taken 0
- Both answerd
- sendbytes1: 13
- HERE
- seconds to count = -1
- recived msg: MENU 3
- HIGSCORE LIST:Score: 3 - 1
- Score: 3 - 2
- send MSG = Highscore
- Score: 3 - 1
- Score: 3 - 2
- size37
- recived msg: MENU 1
- recived msg: MENU 1
- Game Ready to start
- recived msg: READY
- Ready recived
- recived msg: READY
- Ready recived
- Båda klienter redo!
- seconds to count = 3
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- seconds to count = 2
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- seconds to count = 1
- sendbytes1: 7
- sendbytes2: 7
- efter båda skickas
- seconds to count = 0
- efter båda skickas
- recived msg: ROUND 2 0
- for loop test
- Both answerd
- sock 2 won
- Error sending hello msg
- client1:
- command: START
- Game is ready, press enter to accept
- Sent ready msg
- command: TIME
- Game is starting in 3 seconds
- command: TIME
- Game is starting in 2 seconds
- command: TIME
- Game is starting in 1 seconds
- command: ROUND
- Timer started
- Round 1
- Select your option:
- 1.Rock
- 2.Paper
- 3.Scissor
- pal@pal-ROG-Strix-GA35DX-G35DX:~/dv1619/lab4-spel/olofssondaniel/np_assignment4$
- client2:
- command: START
- Game is ready, press enter to accept
- Sent ready msg
- command: TIME
- Game is starting in 3 seconds
- command: TIME
- Game is starting in 2 seconds
- command: TIME
- Game is starting in 1 seconds
- command: ROUND
- Timer started
- Round 1
- Select your option:
- 1.Rock
- 2.Paper
- 3.Scissor
- 2
- 2: choosen
- pal@pal-ROG-Strix-GA35DX-G35DX:~/dv1619/lab4-spel/olofssondaniel/np_assignment4$
- client_watcher:
- command: FINISHED
- Finished Watching final score:
- 0 - 3
- 1.Play
- 2.Watch
- 3.Highscore
- 0.Exit
- 3
- command: Highscore
- Highscore
- Score: 3 - 1
- Score: 3 - 2
- Enter to leave
- pal@pal-ROG-Strix-GA35DX-G35DX:~/dv1619/lab4-spel/olofssondaniel/np_assignment4$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement