Skip to content

Commit

Permalink
This should be fine for v0.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSaiyajinStackZ committed May 17, 2020
1 parent ceb0a11 commit 7a05935
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 3 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# 3DVier!
A Connect Four clone for 3DS.

## Screenshots
![MainMenu](https://github.com/SuperSaiyajinStackZ/3DVier/blob/master/Screenshots/mainMenu.png)![Char Selection](https://github.com/SuperSaiyajinStackZ/3DVier/blob/master/Screenshots/charSelection.png)![Color Settings](https://github.com/SuperSaiyajinStackZ/3DVier/blob/master/Screenshots/colorSettings.png)![Credits](https://github.com/SuperSaiyajinStackZ/3DVier/blob/master/Screenshots/credits.png)![In Game](https://github.com/SuperSaiyajinStackZ/3DVier/blob/master/Screenshots/inGame.png)![Keyboard](https://github.com/SuperSaiyajinStackZ/3DVier/blob/master/Screenshots/keyboard.png)![Language Selection](https://github.com/SuperSaiyajinStackZ/3DVier/blob/master/Screenshots/langSelection.png)![UI Settings](https://github.com/SuperSaiyajinStackZ/3DVier/blob/master/Screenshots/uiSettings.png)

## Compilation

To build 3DVier from source, you need devkitPro installed, along with devkitARM, libctru, Citro2D and Citro3D. To get these you can run `pacman -S 3ds-dev --noconfirm`. Now that you have everything installed, you just need to run clone the repository and run `make`

## Credits
### Main Developers
- [SuperSaiyajinStackZ](https://github.com/SuperSaiyajinStackZ): App Idea and Main Developer.
- [SuperSaiyajinStackZ](https://github.com/SuperSaiyajinStackZ): App Idea and Main Developer.

## Translators
- [SuperSaiyajinStackZ](https://github.com/SuperSaiyajinStackZ): German and English.

## Others
- [devkitPro](https://github.com/devkitPro), [Fincs](https://github.com/fincs), [Smealum](https://github.com/smealum), [Wintermute](https://github.com/WinterMute): For devkitARM, Citro2D, Citro3D and Libctru.
- [Universal-Core](https://github.com/Universal-Team/Universal-Core): The code for the UI.
Binary file added Screenshots/charSelection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/colorSettings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/credits.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/inGame.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/keyboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/langSelection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/mainMenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/uiSettings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions source/screens/gameScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ GameScreen::GameScreen() {
this->p1Name = Keyboard::getString(10, Lang::get("PLAYER1_NAME"), 0.6f);
this->p2Name = Keyboard::getString(10, Lang::get("PLAYER2_NAME"), 0.6f);
int Temp = Keyboard::getUint(255, Lang::get("ENTER_WIN_AMOUNT"));
if (Temp > 0) this->winAmount = Temp;
else this->winAmount = 3; // 3 Default.

if (Temp > 0) {
this->winAmount = Temp;
} else {
this->winAmount = 3; // 3 Default.
}

this->currentGame = std::make_unique<Game>();
this->Refresh();
Expand Down

0 comments on commit 7a05935

Please sign in to comment.