Code Monkey home page Code Monkey logo

tripeaks-gdx's Introduction

tripeaks-gdx's People

Contributors

mimoguz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tripeaks-gdx's Issues

Toki Pona Translation

Hi, I like doing translations for free software projects, so here you go:

start=o open

fromStack=poki lipu li pana e {0,choice,0#lipu ala|1#lipu wan|1<lipu {0,number,integer}} tawa sina.

usedUndo=sina {0,choice,0#kepeken e nasin pakala la tenpo ala|1#kepeken e nasin pakala la tenpo wan|2#kepeken e nasin pakala la tenpo tu|2<kepeken e nasin pakala la tenpo {0,number,integer}}.

longestChain=tenpo musi ni la pona sina li {0,choice,0#lipu ala|1#lipu wan|1<lipu {0,number,integer}}.

newGame=o open e musi sin

newGameShort=musi sin

exit=o pini

return=o musi

darkTheme=lukin pimeja

showAll=o lukin e lipu ale

won=sina pona!

ID Localization

I want to localize the game to Indonesian Language, how can I help?

French translation

Hello,
I have few minutes to kill so here is the french translation.

Based on another topic:

start= Commencer

fromStack=Vous prenez {0,choice,0#aucune carte|1#une carte|1<{0,number,integer} cartes} du paquet.

usedUndo=Vous {0,choice,0#n'avez rien annulé|1#avez annulé une fois|2#avez annulé deux fois|2<avez annulé {0,number,integer} fois}.

longestChain=Votre plus longue série est de {0,choice,0#zero cartes|1#une carte|1<{0,number,integer} cartes}.

newGame=Commencer une nouvelle partie

newGameShort=Nouvelle partie

exit=Quitter le jeu

return=Reprendre le jeu / Retourner au jeu
(Both works. One is "taking back_", the other is "return to_")

darkTheme=Utiliser le thème sombre

showAll=Montrer toute les cartes

won=Vous avez gagné !

Let me know if you need some details about the translation..

French translation

Great game, here's a French translation:

start=Commencer
fromStack=Vous avez pris {0,choice,0#aucune carte|1#une carte|1<{0,number,integer} cartes} dans la pioche.
usedUndo=Vous {0,choice,0#n'êtes jamais revenu en arrière|1#êtes revenu en arrière une fois|2#êtes revenu en arrière deux fois|2<êtes revenu en arrière {0,number,integer} fois}.
longestChain=Votre chaîne la plus longue comptait {0,choice,0#0 carte|1#1 carte|1<{0,number,integer} cartes}.
newGame=Nouvelle partie
exit=Quitter
return=Revenir au jeu
darkTheme=Utiliser le thème sombre
showAll=Dévoiler toutes les cartes
won=Vous avez gagné !
stalled=Plus de mouvements possibles !
undoLast=Annuler le dernier mouvement
save=Sauvegarder
cancel=Annuler
emptyDiscard=Commencer avec une défausse vide
basicLayout=Trois sommets
inverted2ndLayout=Deux sommets et une vallée
diamondsLayout=Diamants
layout=Agencement pour les nouvelles parties :
options=Options

statistics=Statistiques
statAll=Total
statGames=Parties
statWins=Victoire
statLongestChain=Chaîne la plus longue

Card flip bugs

Hello,
the game is nice but there are some issues, screenshots below.

Hearts 10 flipped top left:
Screenshot_20210503-215503
Top left card not flipped:
Screenshot_20210503-223411
Two entry row cards not flipped:
Screenshot_20210505-025025
One entry row card not flipped:
Screenshot_20210505-025603
Black 5 flipped in the middle, but should not be:
Screenshot_20210505-025643
Red 2 flipped in the middle:
Screenshot_20210505-025838
The same red 2 even disappeared:
Screenshot_20210505-025853

Card missing on new game start

Game version 0.45
Android v11
Pixel 3

Installed game, started new game, very top left card is missing.

Screenshot_20210705-101628

I was able to beat this game without matching that card, so it is apparently truly "missing" and not a rendering error.

Screenshot_20210705-101956

Crashes on launch

Updated to version 0.46 and the game fails to launch. 0.45 works fine.

Android v11
Pixel 3

Bug?

Screenshot_2021-08-23-18-39-58-209_ogz tripeaks
Screenshot_2021-08-23-18-40-04-754_ogz tripeaks
Screenshot_2021-08-23-18-40-21-757_ogz tripeaks
Screenshot_2021-08-23-18-40-28-066_ogz tripeaks
Hello!,
I have found that, when I pick up a card from the top right corner in the third diamond, the card at the top is shown, I don't know if it happens with other diamonds, but the card can even be picked up. (Sorry if my English is bad)

Brazilian portuguese localization

Hi, I'm a native speaker of brazilian portuguese and would like to help with the translation of the game.
Here is the resource, translated:

start=Iniciar
fromStack=Você {0,choice,0#não pegou nenhuma carta|1#pegou uma carta|1<pegou {0,number,integer} cartas} do baralho.
usedUndo=Você {0,choice,0#não desfez nenhum movimento|1#usou Desfazer uma vez|2#usou Desfazer duas vezes|2<usou Desfazer {0,number,integer} vezes}.
longestChain=Sua maior sequência foi de {0,choice,0#zero cartas|1#uma carta|1<{0,number,integer} cartas}.
newGame=Iniciar nova partida
newGameShort=Nova partida
exit=Sair do jogo
return=Voltar à partida
darkTheme=Usar tema escuro
showAll=Mostrar todas as cartas
won=Você venceu!

Option to choose different card backs

It would be really nice to be able to customize the card backs (and maybe even the color of the backs? Since they look kinda weird in light mode). So I made some 29 backs for you to use if you want. I made them for dark mode, and the light mode ones are just palette swaps, except the "Praise the Sun" one, which I color-inverted. Feel free to use them, I had a lot of fun making them <3

Cards
From left to right, top to bottom:
Default; Swords; Mandala; Honeycomb; Specks; Abstract; Rhombus; Big Mandala; Checkerboard; Dither
Big Swords; Crosses; Smoke; Hourglass; Royal; Hearts; Spades; Clubs; Diamonds; Orb
DNA; Moons; Alchemy; Impossible Triangle; Impossible Square; Simple; Praise the Sun; Industrial; Candles; Eyes

P.S. The PNG is in indexed mode with transparency, although the colors might be a little bit off from yours, due to the color management of my system. If you give me the exact hex codes of the colors I could check that for you.

i18n | Simplified Chinese

start=Start
fromStack=你从牌堆里取走了{0,choice,0#零张牌|1#一张牌|1< {0,number,integer} 张牌}。
usedUndo=你{0,choice,0#从未撤销过|1#撤销了一次|2#撤销了两次|2<撤销了 {0,number,integer} 次}。
longestChain=你最多连击数是{0,choice,0#零张牌|1#一张牌|1< {0,number,integer} 张牌}。
newGame=开始新游戏
newGameShort=新游戏
exit=退出游戏
return=返回游戏
darkTheme=使用暗黑模式
showAll=显示所有卡牌
won=你赢了!

Italian Translation

Wanted to translate this project to Italian so here it is, I followed all of the steps in this thread.

start=Inizio
fromStack=Hai preso {0,choice,0#0 carte|1#una carta|1<{0,number,integer} carte} dal mazzo.
usedUndo=Tu {0,choice,0#non hai mai annullato una mossa|1#hai annullato 1 mossa|2#hai annullato 2 mosse|2<hai annullato {0,number,integer} mosse}.
longestChain=La tua catena più lunga è stata di {0,choice,0#zero carte consecutive|1#una carta|1<{0,number,integer} carte}.
newGame=Inizia una nuova partita
newGameShort=Nuova partita
exit=Esci dal gioco
return=Torna al gioco
darkTheme=Use il tema scuro
showAll=Mostra tutte le carte
won=Hai vinto!

Store page:

  • Un gioco di solitario a tre picchi.
  • Un gioco con codice sorgente aperto di solitario a tre picchi.
  • Finora solo partite randomaticamente generate.
  • L'opzione di giocare solo partite create manualmente è in arrivo.
  • Prendi [una carta]
  • Annulla mossa
  • Menu

New strings

  • Nessun'altra mossa! (Example image, displayed when the game is stalled)
  • Annulla ultima mossa (Example image)
  • Salva (Example image)
  • Annulla (Example image)
  • Inizia con la pila di scarti vuota (Example image, result)
  • Layout di una nuova partita: (Example image)
  • Opzioni (Example image

Layout options

  • Tre picchi
  • Due picchi ed un tunnel (Example image)
  • Diamanti (Example image)

Game description

  • Un gioco con codice sorgente aperto di solitario a tre picchi con multiple opzioni di layout.

Small changes for next release:

  • Esci (Prima: "Esci dal gioco")
  • Inizia con la pila di scarti vuota (Prima: "Inizia con la pila di scarti vuota")
  • Due picchi ed una valle (Prima: "Due picchi ed un tunnel")
  • Layout per nuove partite (Before: "Layout di una nuova partita")
  • La tua catena di carte più lunga è durata ... (Before: "La tua catena più lunga è stata di ...")

How to open the statistics sceen?

Either I'm dumb or something is going on with the button for the statistics screen.

After updating, the only difference is a small red icon at the top of the "options", which I assume is the statistics screen, but no matter how much tapping, swiping, holding and whatnot I throw at it, it doesn't seem to do anything. I even played some games, since I assumed it didn't open because there was no data to show.

Is this a bug? I'm running Android 10, Poco X3 NFC, Resurrection Remix ROM (degoogled), if any of this matters.

Hebrew Translation

start=התחלה
fromStack=
usedUndo=
longestChain=
newGame=התחל משחק חדש
newGameShort=משחק חדש
exit=צא מהמשחק
return=חזור למשחק
darkTheme=
showAll=הצג את כל הקלפים
won=ניצחת!

This may introduce bugs, as this is right-to-left text. Such as with the last one (won), the exclamation mark appears on the right of the word, when it is supposed to be on the left.

I left the complex calculated ones empty, because the aforementioned RtL is buggy with LtR text.

Basically for fromStack:

  • If 0: לא לקחת קלפים מהערימה
  • If 1: לקחת קלף אחד מהערימה
  • If >1: קלפים מהערימה X לקחת
    • Note: Replace X with number

For usedUndo:

  • If 0: לא השתמשת בביטול
  • If 1: השתמשת בביטול פעם אחת
  • If 2: השתמשת בביטול פעמיים
  • If >2: פעמים X השתמשת בביטול
    • Note: Replace X with number

For longestChain:

  • If 0: הרצף הארוך ביותר שלך היה אפס קלפים
  • If 1: הרצף הארוך ביותר שלך היה קלף אחד
  • If >1: קלפים X הרצף הארוך ביותר שלך היה
    • Note: Replace X with number

Idk about dark theme lol ¯\_(ツ)_/¯. Google Translate says it is השתמש נושא כהה, but it translates theme to topic. Google Translate is notoriously bad with Hebrew. For example כפרה עליך does not have an English translation, but it also definitely does not mean like a cow on you

Wrong card count on end screen

I just finished a game having only used about half the cards in the stack, but the end screen told me I had used 35 cards. This is the first time it happened and I don't know how to reproduce this bug.

Screenshot_2023-09-04-10-49-22-948_ogz tripeaks

i18n | Russian

start=Начать
fromStack=Вы взяли {0,choice,0#0 карт|1#одну карту|1<{0,number,integer} карт(ы)} из колоды.
usedUndo=Вы {0,choice,0#не использовали "отменить" вообще|1#использовали "отменить" единожды|2#использовали "отменить" дважды|2<использовали "отменить" {0,number,integer} раз(а)}.
longestChain=Ваша самая длинная цепочка - {0,choice,0#0 карт|1#одна карта|1<{0,number,integer} карт(ы)}.
newGame=Начать новую игру
newGameShort=Новая игра
exit=Выйти
return=Продолжить
darkTheme=Использовать тёмную тему
showAll=Показать все карты
won=Вы победили!

Statistics periodically get wiped

I don't know when or why, but several times now (since statistics were added) when I open the app, play a game, then open the statistics, they only show the game I just played, all previous statistics are gone.

Edit: I just did some testing, and neither force-killing the app, nor restarting the phone seems to wipe the statistics.

Bulgarian Translation

Hi, I made a bulgarian translation. I checked the issue with the russian translation for the strings, so do let me know if I've missed something. You can use the same alphabet you drew for russian, since bulgarian uses the same cyrilic characters.


start=Начало
fromStack=Ти взе {0,choice,0#0 карти|1#една карта|1<{0,number,integer} карти} от тестето.
usedUndo=Ти {0,choice,0#не си връщал ходове|1#си върнал един ход|2#си върнал два хода|2<си върнал {0,number,integer} хода}.
longestChain=Най-дългата ти комбинация е от {0,choice,0#0 карти|1#една карта|1<{0,number,integer} карти}.
newGame=Нова игра
newGameShort=Начало
exit=Изход
return=Продължаване
darkTheme=Използвай тъмна тема
showAll=Показвай всички карти
won=Ти победи!

A tri peaks solitaire game.=Самостоятелна игра с карти "Tri Peaks" (Три върха).
An open source tri peaks solitaire game.=Самостоятелна игра с карти "Tri Peaks" с отворен код.
Currently only has randomly generated games.=За сега има само случайно генерирани игри.
Pre-solved games option is on the roadmap.=Опция за предварително решени игри е планирана.
Deal=Раздай
Undo=Върни
Menu=Меню

No more moves!=Няма повече ходове!
Undo last move=Върни последния ход
Save=Запази
Cancel=Отказ
Start with an empty discard=Започни с празно поле за изхвърляне
New game layout:=Оформление за нови игри:
Options=Опции
Layout options=Опции за оформлението
Three peaks=Три върха
Two peaks and a funnel=Два върха и фуния
Diamonds=Диаманти
Game description=Описание на играта
An open-source tri peaks solitaire game with multiple layout options.=Самостоятелна игра с карти "Tri Peaks" с няколко оформления и отворен код.

(The following are the same as above, except the two peaks and a valley, but included the rest for the sake of completeness)
Exit (Before: "Exit game")=Изход
Start with an empty discard pile (Before: "Start with an empty discard")=Започни с празно поле за изхвърляне
Two peaks and a valley (Before: "Two peaks and a funnel")=Два върха и долина
Layout for new games (Before: "New game layout")=Оформление за нови игри
Your longest chain had ... (Before: "Your longest chain was ...")=Най-дългата ти комбинация е от...


P.S. I love the aesthetic and execution of your game, other open source solitaire games on F-droid are really outdated and janky. It would be awesome if you were to make other popular solitaire games like Spider, FreeCell and Klondike. <3

i8n | German

start=Start
fromStack=Du hast {0,choice,0#keine Karten|1#eine Karte|1<{0,number,integer} Karten} vom Stapel genommen.
usedUndo=Du hast undo{0,choice,0#gar nicht benutzt|1#einmal benutzt|2#zweimal benutzt|2<{0,number,integer} mal benutzt}.
longestChain=Deine längste Folge hatte{0,choice,0#keine Karten|1#eine Karte|1<{0,number,integer} Karten}.
newGame=Neues Spiel beginnen
exit=Spiel verlassen
return=Zum Spiel zurückkehren
darkTheme=Dunklen Modus verwenden
showAll=Alle Karten zeigen
won=Gewonnen!

Statistics screen

It would be nice if the game tracked stuff like wins/losses, win percentage, average undos, chain length and cards taken from deck, as well as longest chain and games per day.

Perhaps the statistics screen could be accessed from a fourth button on the main menu or from the options screen.

sprites[index] returns null

Exception in thread "main" java.lang.NullPointerException: sprites[index] must not be null
at ogz.tripeaks.graphics.IndexedSprite.get(sprites.kt:45)
at ogz.tripeaks.game.CardDrawingStrategy$Strategies$BackHidden.drawStacked(CardDrawingStrategy.kt:94)
at ogz.tripeaks.game.StackView.draw(StackView.kt:41)
at ogz.tripeaks.screens.RenderHelper.render(RenderHelper.kt:60)
at ogz.tripeaks.screens.GameScreen.render(GameScreen.kt:110)
at ktx.app.KtxGame.render(game.kt:55)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:387)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:192)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Application.java:166)
at ogz.tripeaks.lwjgl3.Lwjgl3Launcher.main(Lwjgl3Launcher.kt:15)
at ogz.tripeaks.lwjgl3.Lwjgl3Launcher.main(Lwjgl3Launcher.kt)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.