1 страниц (11 вхождений)
SMath Games - Some fun applications of SMath - Сообщения
#1 Опубликовано: 11.10.2017 22:44:39
Hi.
I recently heard about Mancala game, an old board game from Africa.
The instructions are very simple and I have had fun playing with my daughter. In the web, you can also find many apps and flavours of this game for different operating systems.
For fun purposes, I have developed a simple implementation of this game in SMath.
You can play "human vs human" or "human vs computer"
The algorithm for computer strategy is very simple. It only evaluate the best move for each play.
Please try it and comment bugs or improvements.
Have fun!
*****************************************************************************
Updates on oct/18/2017:
- minor bug fixes
- computer algorithm updated for a more agressive game!
******************************************************************************
Mancala3_18oct2017.sm (46 КиБ) скачан 119 раз(а).

I recently heard about Mancala game, an old board game from Africa.
The instructions are very simple and I have had fun playing with my daughter. In the web, you can also find many apps and flavours of this game for different operating systems.
For fun purposes, I have developed a simple implementation of this game in SMath.
You can play "human vs human" or "human vs computer"
The algorithm for computer strategy is very simple. It only evaluate the best move for each play.
Please try it and comment bugs or improvements.
Have fun!
*****************************************************************************
Updates on oct/18/2017:
- minor bug fixes
- computer algorithm updated for a more agressive game!
******************************************************************************
Mancala3_18oct2017.sm (46 КиБ) скачан 119 раз(а).
1 пользователям понравился этот пост
Davide Carpi 12.10.2017 06:46:00
#2 Опубликовано: 05.06.2018 12:31:36
#3 Опубликовано: 29.06.2021 13:39:58

This is my attempt to port this old PC game on SMath

Version ready for simple and fun usage!.
- Intro...........................ok!
- Navigation......................ok!
- Long Range Sensors..............ok!
- Short Range Sensors.............ok!
- Phasers.........................ok!
- Photon Torpedoes................ok!
- Shields.........................ok!
- Collision detection.............ok!
- (friendly) Klingons attack......ok!
- Promotion.......................ok!
- Game Over.......................ok!
All systems ready!
2022-06-21 Minor bugfixes and updates
Please download, unzip install the font file "lcars.ttf" and open USS-SMAth.sm: USS-SMath.zip
You can see updates of this project on my GitHub page
Work in progresss...I hope you enjoy it
1 пользователям понравился этот пост
Alvaro Diaz Falconi 29.06.2021 14:34:00
#4 Опубликовано: 29.06.2021 14:34:55
Amazing!
1 пользователям понравился этот пост
Oscar Campo 29.06.2021 14:58:00
#5 Опубликовано: 29.06.2021 15:41:37
Very good implementation !!
Franco
Franco
1 пользователям понравился этот пост
Oscar Campo 29.06.2021 16:46:00
#6 Опубликовано: 29.06.2021 16:46:59
WroteAmazing!
thanks!
#7 Опубликовано: 29.06.2021 16:47:59
WroteVery good implementation !!
Franco
Thank you!
#8 Опубликовано: 13.04.2023 11:26:48
It's an old thread but I'm glad to hear you've discovered Mancala - it's a cool game with a long history. Your SMath implementation sounds awesome too, and it's great that you're open to feedback.
If you're looking for another fun game to play, you can try out Blackout Bingo. It's a mobile app game that's super popular right now, and it's a great way to kill time and win some prizes. The gameplay is simple - you just mark off numbers on your card as they're called out - but there are some cool power-ups and bonuses that make it exciting. So, you can play Blackout Bingo almost anywhere. That's what I like about it.
If you're looking for another fun game to play, you can try out Blackout Bingo. It's a mobile app game that's super popular right now, and it's a great way to kill time and win some prizes. The gameplay is simple - you just mark off numbers on your card as they're called out - but there are some cool power-ups and bonuses that make it exciting. So, you can play Blackout Bingo almost anywhere. That's what I like about it.
1 пользователям понравился этот пост
Oscar Campo 13.04.2023 11:50:00
#9 Опубликовано: 13.04.2023 11:51:21
WroteIt's an old thread but I'm glad to hear you've discovered Mancala - it's a cool game with a long history. Your SMath implementation sounds awesome too, and it's great that you're open to feedback.
Thanks!
All feedback and comments are welcome.
Oscar
#10 Опубликовано: 22.12.2024 02:26:58
4 пользователям понравился этот пост
Andrey Ivashov 14.01.2025 20:23:00, francesco rapuano 22.12.2024 03:02:00, Davide Carpi 22.12.2024 03:22:00, Alvaro Diaz Falconi 22.12.2024 03:22:00
#11 Опубликовано: 11.01.2025 20:03:04
Some advances.
This game pretend to emulate the amazing Electric Football Game from Tudor. In this game, the game field is a vibrating surface where you put the figures on special bases which let them advance on the field in straigth or circular paths. Thats all! the rest is do formations, plan plays, pass the ball or run with it... I have one of this game and for fans as me is very exciting plan your plays and gain yards looking for a touchdown!
In my version...
- I have used the native graph area to render each player in the old way as text strings of unicode full blocks (█). They have 2 different poses dependant of the animation time to simulate they are running.
- In the same way the Tudor game you can set your figures to perform straight or circular paths
- By the way there are only two teams to play with: Green Bay Packers (my favorite team) and New England Patriots. There is a matrix with the roster of each team an some data of position of each player, number of jersey and their weight and speed, that are used for a more "realistic" simulation.
- There are some plays defined on a simple "play book". They can be called by its "particular" names ("17 boot", "33 counter", etc.)
In this update, I have implemented a routine to generate random speed values to figures and check contacts between them. In this test I use only two players to check the contact routine:
A play with no contact:
And another one with contact:
If you're interested in the code, I'll be glad to share it with you!
Enjoy!
This game pretend to emulate the amazing Electric Football Game from Tudor. In this game, the game field is a vibrating surface where you put the figures on special bases which let them advance on the field in straigth or circular paths. Thats all! the rest is do formations, plan plays, pass the ball or run with it... I have one of this game and for fans as me is very exciting plan your plays and gain yards looking for a touchdown!

In my version...
- I have used the native graph area to render each player in the old way as text strings of unicode full blocks (█). They have 2 different poses dependant of the animation time to simulate they are running.
- In the same way the Tudor game you can set your figures to perform straight or circular paths
- By the way there are only two teams to play with: Green Bay Packers (my favorite team) and New England Patriots. There is a matrix with the roster of each team an some data of position of each player, number of jersey and their weight and speed, that are used for a more "realistic" simulation.
- There are some plays defined on a simple "play book". They can be called by its "particular" names ("17 boot", "33 counter", etc.)
In this update, I have implemented a routine to generate random speed values to figures and check contacts between them. In this test I use only two players to check the contact routine:
A play with no contact:
And another one with contact:
If you're interested in the code, I'll be glad to share it with you!
Enjoy!
4 пользователям понравился этот пост
francesco rapuano 12.01.2025 00:33:00, Alvaro Diaz Falconi 12.01.2025 15:47:00, Andrey Ivashov 14.01.2025 20:23:00, Davide Carpi 11.01.2025 23:48:00
1 страниц (11 вхождений)
-
Новые сообщения
-
Нет новых сообщений