llaske / sugarizer

Sugarizer is a web implementation of the Sugar platform to run on any device or browser
https://sugarizer.org
Apache License 2.0
197 stars 412 forks source link

Added New Sugarizer Activity RiverCrossing #1538

Closed sonisumit7904 closed 6 months ago

sonisumit7904 commented 6 months ago

@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. FrontShot

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.

llaske commented 6 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.

sonisumit7904 commented 6 months ago

@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!

llaske commented 6 months ago

Thank for your proposal @sonisumit7904 but this list is for Sugar. In Sugarizer we're looking for more complex activity.