<commit_before>---
# Java
lecture 8
## WebSocket. The Game

---
## Отметьтесь на портале
https://sphere.mail.ru/

---
### get ready
https://github.com/rybalkinsd/atom
```bash
> git fetch upstream
> git checkout -b lecture08 upstream/lecture08
> cd lecture08
```
Refresh gradle project

---
## Agenda
1. WebSocket
1. Practice

---
## Agenda
1. WebSocket
1. Practice

---
## Agenda
1. **[WebSocket]**
1. Practice

---
## Architecture overview
---?image=lecture04/presentation/assets/img/Bomberman-arch.svg&size=auto 70% 


---
## Client-server communication
- Why is HTTP **bad** for client-server communication in real-time games?  
- What alternatives do we have?  <commit_msg>Presentation<commit_after>---
# Java
lecture 8
## WebSocket

---
## Отметьтесь на портале
https://sphere.mail.ru/

---
### get ready
https://github.com/rybalkinsd/atom
```bash
> git fetch upstream
> git checkout -b lecture08 upstream/lecture08
> cd lecture08
```
Refresh gradle project

---
## Agenda
1. WebSocket
1. Practice

---
## Agenda
1. **[WebSocket]**
1. Practice

---
## Architecture overview
---?image=lecture08/presentation/assets/img/Bomberman-arch.svg&size=auto 70% 


---
## Client-server communication
- Why is HTTP **bad** for client-server communication in real-time games?  
- What alternatives do we have?  
{'fraction_non_alphanumeric': 0.15656178050652342, 'fraction_numerical': 0.024558710667689946, 'mean_word_length': 3.4203389830508475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5265758', 'n_tokens_mistral': 473, 'n_tokens_neox': 442, 'n_words': 121}