Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Burinyuykellychelsy/songo_local

Creator:
Bur
Host:
jeu de songo - version local Songo Game – Local Version Student Information Name: BURINYUY KELLY-CHELSY Matricule: 24F2555 Description This project is a local implementation of the traditional African board game Songo using HTML, CSS and JavaScript. The game allows two players to play on the same computer while respecting the rules of Songo. Technologies Used HTML5 CSS3 JavaScript Fonctionnement du jeu The game is played by two players on the same computer. Each player controls one row of pits containing seeds. During a turn, a player selects one of their pits and distributes the seeds according to the rules of Songo. Captures are performed when the required conditions are met. The game continues until an end-game condition is reached. The winner is the player who has captured the highest number of seeds. Principe The application simulates a traditional Songo board. The program: Displays the game board. Manages player turns. Validates player moves. Distributes seeds automatically. Handles captures. Updates scores. Determines the winner. All game logic is executed in JavaScript while HTML and CSS manage the interface. Algorithme Initialize the board with the starting number of seeds. Set Player 1 as the first player. Wait for the player to select a valid pit. Collect the seeds from the selected pit. Distribute the seeds counterclockwise according to the game rules. Check whether a capture is possible. Update the scores. Verify if the game is finished. Change the active player. Repeat until the end of the game. Display the winner. Organisation du code songo-local/ │ ├── index.html ├── style.css ├── script.js ├── README.md ├── LICENSE └── .gitignore File Description index.html Contains the structure of the game interface. style.css Manages the design, layout and visual appearance of the game. script.js Contains the complete game logic: board initialization turn management move validation seed distribution captures score calculation winner determination How to Run Download or …

Visit

github.com

Languages

SongoSongo

Licenses

MIT