https://github.com/ivanprodaiko94/ssh-test
https://github.com/ivanprodaiko94/ssh-test
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivanprodaiko94/ssh-test
- Owner: IvanProdaiko94
- License: mit
- Created: 2019-12-03T14:21:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-14T09:49:33.000Z (over 6 years ago)
- Last Synced: 2025-04-09T19:53:41.550Z (about 1 year ago)
- Language: Go
- Size: 122 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ssh-test
## Prerequisites
Author used `go version go1.12.13 darwin/amd64`.
You must have `docker`, `docker-compose`, `openssl` installed on your computer.
### Reading
How to [generate certificate](https://gist.github.com/cecilemuller/9492b848eb8fe46d462abeb26656c4f8#how-to-create-an-https-certificate-for-localhost-domains).
How to [set up custom server](https://github.com/go-swagger/go-swagger/blob/master/docs/tutorial/custom-server.md)
I have decided to create the game that will not be a stupid one.
Hence, this I thought I could use Markov process.
I found [this article](https://ambareeshr.wordpress.com/2019/01/07/markov-decision-process-for-tic-tac-toe/) and
[this repo](https://github.com/revanurambareesh/mdp-tic-tac-toe).
## How to start
```.bash
# generate code
make generate
# install dependencies
make deps
# generate certificate
make generate_certificate
# start server and postgres
docker-compose up
```
## How to play
Load [this file](./ssh.postman_collection.json) (it is a collection) to Postman and play.
## How to run tests
```bash
make unit_test
```