Skip to content

Commit db14e8b

Browse files
committed
Connect Four in Rust!
1 parent 460bec4 commit db14e8b

File tree

8 files changed

+532
-5
lines changed

8 files changed

+532
-5
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ challenges/Properties
1111
challenges/ProgrammingChallenges.csproj
1212
challenges/ProgrammingChallenges.csproj.user
1313
challenges/.vs
14+
challenges/rust

Diff for: README.md

+20-5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All task from list of Programming Challenges v1.4
55

66
If you have any questions, you can contact me by email morasiu2@gmail.com
77

8+
## How to run/compile
9+
10+
* **Python** - just run script using Pyhton 3 (for example. `python script.py`)
11+
* **C#** - you can run it using `mono` or clicking on Windows, and compile by `mcs`:
12+
* compile - `mcs script.cs`
13+
* run - `mono script.exe`
14+
* **Rust** -
15+
* compile - `cargo build`
16+
* run - click on `exe` file on Windows or run like a typical program on Linux (for example. typing its name in console)
17+
818
## Table of content
919

1020
* [00 Name generator](#00)
@@ -27,17 +37,18 @@ If you have any questions, you can contact me by email morasiu2@gmail.com
2737
* [~~17 Eurelian Path~~](#17)
2838
* [18 Simple File Explorer](#18)
2939
* [19 Count Words](#19)
30-
* [20 Count Words](#20)
40+
* [20 Minesweeper](#20)
41+
* [21 Connect Four](#20)
3142

32-
## Bonus
43+
## Bonuses
3344

3445
1. [Loading animation](#bonus1)
3546

3647
## Progress
3748

3849
All - **100** <br>
39-
Done - **20** <br>
40-
Remain - **80** <br>
50+
Done - **21** <br>
51+
Remain - **79** <br>
4152

4253
* <a name="00">00</a> Name Generator - 29.01.2018 *Done* (`Python 3`) <br>
4354
![00](docs/images/00.png)
@@ -91,7 +102,11 @@ Maybe some day?
91102
![18](docs/images/18.png)
92103
* <a name="19">19</a> Count Words - 13.08.2018 *Done* (`C#`)<br>
93104
![19](docs/images/19.png)
94-
* <a name="19">20</a> Minesweeper - 14.08.2018 *Done* (`C#`)<br>
105+
* <a name="20">20</a> Minesweeper - 14.08.2018 *Done* (`C#`)<br>
95106
![20](docs/images/20.png)
107+
* <a name="21">21</a> Connect Four - 23.08.2018 *Done* (`Rust`)<br>
108+
![21](docs/images/21.png)
109+
96110
## Bonus
111+
97112
* <a name="bonus1">1.</a> Loading animation in console 24.02.2018 *Done* (`C#`)![Bonus 1](docs/images/bonus1.gif)

Diff for: challenges/21_Connect_Four/Cargo.lock

+304
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: challenges/21_Connect_Four/Cargo.toml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[package]
2+
name = "connect_four"
3+
version = "0.1.0"
4+
authors = ["Morasiu <morasiu2@gmail.com>"]
5+
6+
[dependencies]
7+
getch = "0.2.0"
8+
console = "0.6.1"

Diff for: challenges/21_Connect_Four/connect_four.exe

163 KB
Binary file not shown.

0 commit comments

Comments
 (0)