diff --git a/README.md b/README.md new file mode 100644 index 00000000..b4730b43 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +Bouncing Sphere +=============== + +An Android-based application to play the board game "Ricochet Robots ©". It includes an artificial intelligence capable of playing the game. + +Bouncing Sphere allows to record up to 15 diferent maps. So if during your games you encounter an interesting map, memorize the order to play again! + +Download App +============ + +You can either clone this Repository and open it with android-studio to build the app +or use the direct link to a compliled version here: https://github.com/rubo77/ProjetEi4_Android/raw/apk/download/app-debug.apk + +Screenshot +========== +![](http://perso-laris.univ-angers.fr/~projetsei4/1415/P2/img/screenshots/app-1.png) + +Licence +======= +The solver algorithm implementation is developed at [DriftingDroids](https://github.com/smack42/DriftingDroids), which is released under **GNU GPL**. Therefore the Bouncing Spere code is distributed under the same Licence. + +Development +=========== + +Bouncing Sphere was developed in the Project EI 4 AGI: http://perso-laris.univ-angers.fr/~projetsei4/1415/P2/index.html + +### Report +Download the report that was made for the university project: +http://perso-laris.univ-angers.fr/~projetsei4/1415/P2/documents/Bouncing_sphere.pdf + +### Presentation +Download the slides used to present the project: +http://perso-laris.univ-angers.fr/~projetsei4/1415/P2/documents/Bouncing_sphere.pptx diff --git a/app/src/main/java/istia/ei4/ProjetISTIA/GridGameScreen.java b/app/src/main/java/istia/ei4/ProjetISTIA/GridGameScreen.java index 332f25dc..a95e8f1e 100644 --- a/app/src/main/java/istia/ei4/ProjetISTIA/GridGameScreen.java +++ b/app/src/main/java/istia/ei4/ProjetISTIA/GridGameScreen.java @@ -148,8 +148,8 @@ public void draw(RenderManager renderManager) renderManager.setColor(Color.BLACK); int textS = yGrid/2-50; renderManager.setTextSize(textS); - renderManager.drawText(10, textS, "Nombre de coups: " + nbCoups); - renderManager.drawText(10, yGrid/2+textS, "Temps: " + timeCpt/60 + ":" + timeCpt%60); + renderManager.drawText(10, textS, "Number of moves: " + nbCoups); + renderManager.drawText(10, yGrid/2+textS, "Time: " + timeCpt/60 + ":" + timeCpt%60); if(imageLoaded) { @@ -513,11 +513,11 @@ public void sayWon() { if(IAMovesNumber > 0) { - gameManager.requestToast("IA : solution trouvée en "+IAMovesNumber+" coups.", true); + gameManager.requestToast("AI: solution found in "+IAMovesNumber+" moves.", true); } else { - gameManager.requestToast("Gagné en "+nbCoups+" coups.", true); + gameManager.requestToast("You won in "+nbCoups+" moves.", true); } updatePlayedMaps(); } diff --git a/app/src/main/java/istia/ei4/ProjetISTIA/MainMenuGameScreen.java b/app/src/main/java/istia/ei4/ProjetISTIA/MainMenuGameScreen.java index 5b563daa..8cf4428a 100644 --- a/app/src/main/java/istia/ei4/ProjetISTIA/MainMenuGameScreen.java +++ b/app/src/main/java/istia/ei4/ProjetISTIA/MainMenuGameScreen.java @@ -41,7 +41,7 @@ public void update(GameManager gameManager) { if(dt<2000){ gameManager.requestEnd(); }else{ - gameManager.requestToast("Appuyer encore pour quitter.", false); + gameManager.requestToast("Press again to exit.", false); } } } diff --git a/app/src/main/java/istia/ei4/ProjetISTIA/SettingsGameScreen.java b/app/src/main/java/istia/ei4/ProjetISTIA/SettingsGameScreen.java index 42d5b0d0..854a48f7 100644 --- a/app/src/main/java/istia/ei4/ProjetISTIA/SettingsGameScreen.java +++ b/app/src/main/java/istia/ei4/ProjetISTIA/SettingsGameScreen.java @@ -59,7 +59,7 @@ public void draw(RenderManager renderManager) { renderManager.setColor(Color.BLACK); renderManager.setTextSize(ts); - renderManager.drawText(10, 1*ts, "Choix du solveur :"); + renderManager.drawText(10, 1*ts, "Choose solver algorithm:"); if(solverBFS) renderManager.drawText(10, 3*ts, "BFS"); else diff --git a/download/app-debug.apk b/download/app-debug.apk new file mode 100644 index 00000000..0373e4f9 Binary files /dev/null and b/download/app-debug.apk differ