Skip to content

Commit 9e8e307

Browse files
committed
Merge branch 'working' of https://github.com/FlyingWolFox/Atividades-de-Aula into working
2 parents 7c895f8 + 8c73248 commit 9e8e307

File tree

1 file changed

+61
-6
lines changed

1 file changed

+61
-6
lines changed

README.md

Lines changed: 61 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ Here you'll find 5 games: Tic Tac Toe (or naughts and crosses), Connect 4, Hangm
1010

1111
- These projects depends on the ANSI Escape Codes to work properly/as intended. In Windows machines the cmd will be setted up to support it. If one of these projects have weird screen behavior, like printing random characters, or something like [33;0;0;0m it's because your terminal emulator doens't support ANSI Escape codes
1212

13-
- Not all projects works on Linux or Unix systems due to OS specific code, on each project deatails will be said if it's compatible with Linux, it's not or if there's a project made for linux
14-
13+
- Simon and Battleship doesn't work on Linux or Unix systems due to Windows specific code
1514
- The releases of these projects will be done
1615

1716
- The coding gets better like this: Tic Tac Toe > Connect 4 > Hangman > Simon > Batleship. This is because Tic Tac Toe was the first I done and I learned in the way of developing the others. Please don't roast me with the bad coding, I'm thinking about rewriting some things
@@ -24,17 +23,73 @@ Here you'll find 5 games: Tic Tac Toe (or naughts and crosses), Connect 4, Hangm
2423
- The game has two modes: Singleplayer and Multiplayer
2524
- Multiplayer is the classic form of playing. You and a person play against each other
2625
- On singleplayer you'll play against a AI, which have 3 difficult levels: Easy, Normal and Impossible. More on that on the wiki
27-
- The board is made in a beatiful ascii art, including the X and the O. The thanks for the people behind the ascii art is in the wiki and the game
26+
- The board is made with ascii art, including the X and the O. The thanks for the people behind the ascii art is in the wiki and the game
2827

2928
- ### Connect 4
3029
- If you played Club Penguin you already know this game
31-
- Two people play against each oder, dropping pieces, wich fall in the last line in the board, trying to connect 4 pieces horizontaly, verticaly or diagonally. Who does that first wins
30+
- Two people play against each oder, dropping pieces, which fall in the last line in the board, trying to connect 4 pieces horizontaly, verticaly or diagonally. Who does that first wins
3231
- The game nedd ANSI Escape Codes to clear the screen and give colors to the pieces, backgroung, and detecting window size
3332
- The game needs a certain Window Size to work, because the board is big
3433
- The game has two modes: Singleplayer and Multiplayer
3534
- On multiplayer you and a person play against each other
3635
- On singleplayer you'll play against a AI, which is made to be impossible to win. More on that on the wiki
37-
- The board is made in a beatiful ascii art, including the pieces, wich have colors! . the thanks for the people behind the ascii art is in the wiki and the game
36+
- The board is made with ascii art, including the pieces, which have colors! . The thanks for the people behind the ascii art is in the wiki and the game
37+
- The background color are made with true color (RGB), your terminal emulator may not support it. If it doesn't I don't know What will happen
3838

3939
- ### Hangman
40-
-
40+
- Works just as expected. You'll have to guess the word before the stickman gets hanged. Each mistake make him closer to his death. Get all letters right before this and you win!
41+
- The word is given by a file which is passed by argument. The project uses C:\word.txt as default
42+
- The file should look like:
43+
```
44+
<word>
45+
<tip>
46+
```
47+
- The tip is optional
48+
- The game nedd ANSI Escape Codes to clear and manipulate the screen
49+
- The game uses ascii art for the hangman and letters (if the word isn't that big)
50+
51+
- ### Simon
52+
- The game of the 70's and the 80's is now in C!
53+
- You have to repeat the sequence that the program passes to you. Each time you get all right, the number of presses increases by one
54+
- There's a little tutorial in the program at the start, however it's optional
55+
- The game nedd ANSI Escape Codes to clear the screen, and print colors in terminal
56+
- The colors are made with true color (RGB), your terminal emulator may not support it. If it doesn't I don't know What will happen
57+
- The game uses mouse interaction, which, for now, it's limited to Windows
58+
- The game has sounds for each button/color and a game over sound!
59+
- It uses the BASS Audio Library to play the souds. There five audio files on the project already, 4 for the buttons and 1 for the game over. If you keep the name, you can put your own sounds!
60+
- Due to have to print the entire screen, the game is dependent of the cpu speed, slowdown with the printing may occur. Don't cick until the cursor is at the botton of the screen or the click won't count
61+
- ~~~Don't get scared at the game over sound!~~~
62+
63+
- ### Battleship
64+
- The board/paper guessing game made in C
65+
- You have bomb every enemy ship on the board
66+
- There's ships and submarines! The ship's size it's determinated by you
67+
- There's no multiplayer yet, it'll be limited if it exists
68+
- The board is get by a text file passed by argument. The project default is C:\textFile.txt
69+
- The file should look like this, use this as a model, putting in the middle of the vertical bars your entry:
70+
```
71+
| | | | | | | | | | | |
72+
| | | | | | | | | | | |
73+
| | | | | | | | | | | |
74+
| | | | | | | | | | | |
75+
| | | | | | | | | | | |
76+
| | | | | | | | | | | |
77+
| | | | | | | | | | | |
78+
| | | | | | | | | | | |
79+
| | | | | | | | | | | |
80+
```
81+
- The symbol for each part of the ship or subarine is the following:
82+
- `<` for the horizontal Bow of the ship
83+
- `=` for the horizontal Middle of the ship
84+
- `>` for the horizontal Stern of the ship
85+
- `^` for the vertical Bow of the ship
86+
- `|` for the vertical Middle of the ship
87+
- `~` for the vertical Stern of the ship
88+
- If you put the parts wrong, the program will display the ships wrong
89+
- The game nedd ANSI Escape Codes to clear the screen
90+
- The game uses ascii art for the board and the ships
91+
- The game uses mouse interaction, wich, for now, it's limited to Windows
92+
- Due to have to print the entire screen, the game is dependent of the cpu speed, slowdown with the printing may occur. Don't cick until the cursor is at the botton of the screen or the click won't count
93+
94+
## The documentation
95+
This repository will have full documentation. From comment on the code to wiki with the details. If you have a question, probably it'll be answered there! Also the thanks are also there, apart from some "features" of the projects. At the moment there aren't any, the comments on the code will come first then the wiki. If you want to see my progress have a look at the project page! The first notes (and some middle ones) aren't english, but in portuguese. This is because the projects started in it. The code is being translated, but the old notes aren't (sorry for the bad english)

0 commit comments

Comments
 (0)