Skip to content

Latest commit

ย 

History

History
75 lines (53 loc) ยท 1.96 KB

File metadata and controls

75 lines (53 loc) ยท 1.96 KB

Small Game

An educational Android game designed to improve math calculation skills through fun and challenging gameplay.

๐Ÿ“‹ Introduction

Objective

  • Speed up user calculation skills
  • Optimize children's intelligence
  • Show the time (in seconds)
  • Challenge and Fun

About Project

  • This game progresses in two modes: 'Easy' or 'Hard'
  • Allows user to select the number of rows and the operator ('+', '-', '/')

๐Ÿงฎ Algorithm

I take random numbers between 2 small numbers, and calculate all the table then show only these cells:

Easy Mode

  • Show only the top row row[0] and left column col[0]

Hard Mode

  • From the top row, show the even index
    Example: row[0]col[2], row[0]col[4], โ€ฆ, row[0]col[i%2==0]
  • From the left column, show the odd index
    Example: col[0]row[1], col[0]row[3], โ€ฆ, col[0]row[i%2!=0]
  • From the rest of cols-rows, show the diagonal cells
    Example: if rows = 3 and cols = 5
    Show: col[1]row[1], col[2]row[2], โ€ฆ, col[i]row[j]

๐Ÿ› ๏ธ Technical Stack

  • Platform: Android
  • Language: Java
  • Build Tool: Gradle

๐Ÿ“‹ Prerequisites

  • Android Studio
  • Android SDK
  • JDK 8 or higher

๐Ÿš€ Installation

  1. Clone the repository

    git clone https://github.com/touficSl/small-game.git
  2. Open in Android Studio

    • Open Android Studio
    • Select "Open an existing project"
    • Navigate to the cloned directory
  3. Build and Run

    • Sync Gradle files
    • Connect an Android device or start an emulator
    • Click Run

๐Ÿ“ฑ Screen Description

You can find screen description here:
Game Presentation (Google Slides)

๐Ÿ‘ค Author

Toufic SL

๐Ÿ“ License

This project is open source and available under the MIT License.