Advertising (This ad goes away for registered users. You can Login or Register)

[UPDATED v1.1] ReversMe, a modern Othello by TheFloW

Submit here your entries for the Revitalize Competition. Deadline is September 30th.
Rules can be found here: http://wololo.net/revitalize/
TheFloW
Guru
Posts: 57
Joined: Sun Jun 28, 2015 11:13 am

[UPDATED v1.1] ReversMe, a modern Othello by TheFloW

Post by TheFloW » Wed Sep 02, 2015 6:46 pm

Image
- ReversMe, a modern Othello by TheFloW

If you haven't played Reversi/Othello before, you have definitely missed something in your childhood.
But it's never too late, launch this homebrew immediately!
You will quickly understand the game, and soon you will develop your own tactics to defeat the AI or your friend.

- Controls
You can control the entire game using the touchscreen, buttons, or both combined.

- Touchscreen
- Menus
Tap on items to operate.

- Pause menu
To open the the pause menu, tap on the white area on the right side, next to the game board
To close the pause menu, tap on the game board.

- In-game
Tap on squares to put a new piece.

- Buttons
- Menus
Use either the digital pad or the left analog stick to navigate through the menus. Press X to operate, press O to go back.

- Pause menu
Press START to open the pause menu. To close, either press START again or O.

- Single player in-game
Use either the digital pad or the left analog stick to use the board cursor. Press X to put a new piece.

- Multiplayer in-game
For purple, the player on the left side of the PS Vita, use either the digital pad or the left analog stick to use the board cursor. Press L to put a new piece.
For green, the player on the right side of the PS Vita, use either /\, O, X, [] or the right analog stick to use the board cursor. Press R to put a new piece.

- Multilanguage
At the moment, ReversMe supports 3 languages:
- English
- French
- German

If you want your language to be supported, please translate the list below, post it in the official release thread or PM it to me.

LanguageContainer english_container = {
"main menu",
"single player",
"multiplayer",
"start game",
"restart game",
"exit game",
"your color",
"ai level",
"show valid moves",
"pause",
"pass",
"invalid",
"purple won",
"green won",
"you won",
"you lost",
"drawn",
"purple",
"green",
"yes",
"no",
"back",
};

- AI
In 'single player' mode, you can adjust the AI level, the difficulty, to your desire.
The level represents nothing than the search depth of the minimax algorithm using alpha-beta pruning with this evaluation matrix:

int matrix[4][4] = {
{ 120, -20, 20, 5 },
{ -20, -40, -5, -5 },
{ 20, -5, 15, 3 },
{ 5, -5, 3, 3 }
};

- Credits
- Thanks to yifanlu for Rejuvenate
- Thanks to xerpi for vita2dlib
- Thanks to 'Ash Pikachu' on dafont.com for the eurocaps font
Image
- v1.1
- Added spanish, polish and dutch translation.
Download executable

Download source code
Advertising
Last edited by TheFloW on Sat Sep 12, 2015 9:19 am, edited 3 times in total.

User avatar
niszczycielnpc
Posts: 259
Joined: Thu Dec 19, 2013 12:10 pm
Location: %appdata%/Poland/Netherland

Re: ReversMe, a modern Othello by TheFloW

Post by niszczycielnpc » Fri Sep 04, 2015 4:43 pm

Polish and Dutch ;)


LanguageContainer polish_container = {
"menu glowne",
"jednoosobowa",
"wieloosobowa",
"zaczni gre",
"zrestartuj gre",
"wyjdz z gry",
"twoj kolor",
"poziom trudnosci",
"pokaz dobre ruchy",
"pauza",
"koniec",
"nie poprawne",
"fioletowy wygral",
"zielony wygral",
"wygrales",
"przegrales",
"remis",
"foletowy",
"zielony",
"tak",
"nie",
"wroc",
};



LanguageContainer dutch_container = {
"main menu",
"een speler",
"meer spelers",
"start spel,
"resetten spel",
"exit spel",
"jouw kleur",
"ai moeilijkheid",
"laat goede bewegingen zien",
"pauze",
"klaar",
"verkeerd",
"violet won",
"groen won",
"jij won",
"jij verloren",
"trek",
"violet",
"groen",
"ja",
"nee",
"terug",
};
Advertising
My Devices [spoiler]PSVITA BLACK 3.50 - private exploit/color]
PLAYSTATION 4 OFW
PSP BLACK-1004 3.90 M33-2
XBOX 360 RGH JASPER
SAMSUNG GALAXY S 7 EDGE ROOTED
SAMSUNG GALAXY S ADVANCE ROOTED
NOKIA LUMIA 520[/spoiler]

TheFloW
Guru
Posts: 57
Joined: Sun Jun 28, 2015 11:13 am

Re: ReversMe, a modern Othello by TheFloW

Post by TheFloW » Fri Sep 04, 2015 7:45 pm

niszczycielnpc wrote:Polish and Dutch ;)


LanguageContainer polish_container = {
"menu glowne",
"jednoosobowa",
"wieloosobowa",
"zaczni gre",
"zrestartuj gre",
"wyjdz z gry",
"twoj kolor",
"poziom trudnosci",
"pokaz dobre ruchy",
"pauza",
"koniec",
"nie poprawne",
"fioletowy wygral",
"zielony wygral",
"wygrales",
"przegrales",
"remis",
"foletowy",
"zielony",
"tak",
"nie",
"wroc",
};



LanguageContainer dutch_container = {
"main menu",
"een speler",
"meer spelers",
"start spel,
"resetten spel",
"exit spel",
"jouw kleur",
"ai moeilijkheid",
"laat goede bewegingen zien",
"pauze",
"klaar",
"verkeerd",
"violet won",
"groen won",
"jij won",
"jij verloren",
"trek",
"violet",
"groen",
"ja",
"nee",
"terug",
};
Thanks! I'll add them...but "laat goede bewegingen zien" is too long and doesn't fit into the menu. Do you have a shorter translation for this one?
TheFloW

User avatar
niszczycielnpc
Posts: 259
Joined: Thu Dec 19, 2013 12:10 pm
Location: %appdata%/Poland/Netherland

Re: ReversMe, a modern Othello by TheFloW

Post by niszczycielnpc » Fri Sep 04, 2015 8:09 pm

TheFloW wrote:
niszczycielnpc wrote:Polish and Dutch ;)


LanguageContainer polish_container = {
"menu glowne",
"jednoosobowa",
"wieloosobowa",
"zaczni gre",
"zrestartuj gre",
"wyjdz z gry",
"twoj kolor",
"poziom trudnosci",
"pokaz dobre ruchy",
"pauza",
"koniec",
"nie poprawne",
"fioletowy wygral",
"zielony wygral",
"wygrales",
"przegrales",
"remis",
"foletowy",
"zielony",
"tak",
"nie",
"wroc",
};



LanguageContainer dutch_container = {
"main menu",
"een speler",
"meer spelers",
"start spel,
"resetten spel",
"exit spel",
"jouw kleur",
"ai moeilijkheid",
"laat goede bewegingen zien",
"pauze",
"klaar",
"verkeerd",
"violet won",
"groen won",
"jij won",
"jij verloren",
"trek",
"violet",
"groen",
"ja",
"nee",
"terug",
};
Thanks! I'll add them...but "laat goede bewegingen zien" is too long and doesn't fit into the menu. Do you have a shorter translation for this one?
TheFloW
"Goede bewegingen" ;) this would be good
My Devices [spoiler]PSVITA BLACK 3.50 - private exploit/color]
PLAYSTATION 4 OFW
PSP BLACK-1004 3.90 M33-2
XBOX 360 RGH JASPER
SAMSUNG GALAXY S 7 EDGE ROOTED
SAMSUNG GALAXY S ADVANCE ROOTED
NOKIA LUMIA 520[/spoiler]

xerpi
HBL Collaborator
Posts: 139
Joined: Sat Apr 23, 2011 10:45 am
Location: Barcelona

Re: ReversMe, a modern Othello by TheFloW

Post by xerpi » Fri Sep 04, 2015 10:05 pm

Very nice game, and thanks for using libvita2d :D
Also, here's the Catalan translation:

Code: Select all

LanguageContainer catalan_container = {
"menú principal",
"un jugador",
"multijugador",
"començar el joc",
"reiniciar el joc",
"sortir del joc",
"el teu color",
"nivell d'ia",
"mostra els moviments vàlids",
"pausa",
"pas de torn",
"invàlid",
"el porpra ha guanyat",
"el verd ha guanyat",
"has guanyat",
"has perdut",
"empat",
"porpra",
"verd",
"sí",
"no",
"enrere",
};
Last edited by xerpi on Sat Sep 05, 2015 10:38 am, edited 1 time in total.

User avatar
Uriel Tapia
Posts: 13
Joined: Wed May 20, 2015 4:54 am
Location: Mexico City
Contact:

Re: ReversMe, a modern Othello by TheFloW

Post by Uriel Tapia » Sat Sep 05, 2015 5:05 am

Spanish translation here! ;)

Code: Select all

LanguageContainer spanish_container = {
"menú principal",
"un jugador",
"multijugador",
"iniciar juego",
"reiniciar juego",
"salir del juego",
"tu color",
"dificultad de ia",
"mostrar movimientos válidos",
"pausa",
"pasar",
"inválido",
"gana el morado",
"gana el verde",
"ganaste",
"perdiste",
"empate",
"morado",
"verde",
"sí",
"no",
"atrás",
};
Live and let live.

TheFloW
Guru
Posts: 57
Joined: Sun Jun 28, 2015 11:13 am

Re: ReversMe, a modern Othello by TheFloW

Post by TheFloW » Sat Sep 05, 2015 7:36 am

xerpi wrote:Very nice game, and thanks for using libvita2d :D
Also, here's the Catalan translation:

Code: Select all

LanguageContainer catalan_container = {
"menú principal",
"un jugador",
"multijugador",
"començar el joc",
"reiniciar el joc",
"sortir del joc",
"el teu color",
"nivell d'ia",
"mostra els moviments vàlids",
"pausa",
"pas de torn",
"invàlid",
"el porpra ha guanyar",
"el verd ha guanyar",
"has guanyat",
"has perdut",
"empat",
"porpra",
"verd",
"sí",
"no",
"enrere",
};
You did an amazing work! Sadly the pgf implementation of yours doesn't work :/
There's no catalan language on the PS Vita ^^'
TheFlow

tomo123
Posts: 9
Joined: Tue Jun 24, 2014 1:09 pm

Re: [UPDATED v1.1] ReversMe, a modern Othello by TheFloW

Post by tomo123 » Sat Sep 05, 2015 11:00 am

niszczycielnpc wrote:Polish and Dutch ;)


LanguageContainer polish_container = {
"menu glowne",
"jednoosobowa",
"wieloosobowa",
"zaczni gre",
"zrestartuj gre",
"wyjdz z gry",
"twoj kolor",
"poziom trudnosci",
"pokaz dobre ruchy",
"pauza",
"koniec",
"nie poprawne",
"fioletowy wygral",
"zielony wygral",
"wygrales",
"przegrales",
"remis",
"foletowy",
"zielony",
"tak",
"nie",
"wroc",
};



LanguageContainer dutch_container = {
"main menu",
"een speler",
"meer spelers",
"start spel,
"resetten spel",
"exit spel",
"jouw kleur",
"ai moeilijkheid",
"laat goede bewegingen zien",
"pauze",
"klaar",
"verkeerd",
"violet won",
"groen won",
"jij won",
"jij verloren",
"trek",
"violet",
"groen",
"ja",
"nee",
"terug",
};
I want to make a correction of Polish text:
"zaczni gre" should be "zacznij gre"
"foletowy" should be "fioletowy"

xyz
Posts: 61
Joined: Thu Jan 20, 2011 7:06 pm

Re: [UPDATED v1.1] ReversMe, a modern Othello by TheFloW

Post by xyz » Mon Sep 07, 2015 11:14 pm

source code?

TheFloW
Guru
Posts: 57
Joined: Sun Jun 28, 2015 11:13 am

Re: [UPDATED v1.1] ReversMe, a modern Othello by TheFloW

Post by TheFloW » Tue Sep 08, 2015 7:16 pm

xyz wrote:source code?
Am I supposed to release the source code? Well...I can, I don't mind...but it's a mess...so I don't think that would anybody want to read it haha.

Post Reply

Return to “Revitalize Competition”