Closed sonisumit7904 closed 9 months ago
It's very basic and I don't see the pedagogical interest of the activity. I'm not interested to integrate it in Sugarizer but, because Sugarizer is open source, it doesn't prevent you to distribute it on your side. See the Readme file to understand how you could choose activities to deploy.
@llaske : I Understand this is very basic, but this Goat, Wolf, Cabbage is actually very popular among young puzzle solvers, Actually, I made this activity because its name was mentioned here: https://github.com/sugarlabs/GSoC/blob/master/Ideas-2024.md#math-games I have also made the NIM Game, please let me know your opinion!
Thank for your proposal @sonisumit7904 but this list is for Sugar. In Sugarizer we're looking for more complex activity.
@llaske, walterbender said that you would be interested in new games for Sugarizer, So this is the First build of ->
Goat, Cabbage and Wolf
A JavaScript implementation of the Goat, Cabbage and Wolf game.
A live version of it is hosted here :
https://sonisumit7904.github.io/Bridge_Game_For_Sugarizer/
Rules
The farmer is the only one who can pilot the boat. The boat only carries two at a time. The goat can never be left alone with the cabbage, or it will devour it. The wolf also cannot be left alone with the goat, or it will eat it too. Can you cross them all?
How to play
Click on the wolf, goat or cabbage to enter or leave the boat. Click the boat to cross the river - it'll only do it if the farmer is inside.