Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline oscampo  
#1 Posted : 12 October 2017 04:44:39(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 289
Man
Colombia
Location: Cali, Colombia

Was thanked: 124 time(s) in 83 post(s)
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 (47kb) downloaded 63 time(s).

Mancala.gif

Edited by user 19 October 2017 23:15:19(UTC)  | Reason: Not specified

thanks 1 user thanked oscampo for this useful post.
on 12/10/2017(UTC)
Offline Alex M.  
#2 Posted : 05 June 2018 18:31:36(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 127 time(s) in 96 post(s)
This is exciting!!!!! Thank you for your generous and extended effort :-)
a little glitch..

USSbug.png

now another thing that differntiates SMath from MathCAD is presence of games haha Tongue

https://community.ptc.co.../puzzles%20&%20games

Edited by user 05 June 2018 18:35:28(UTC)  | Reason: Not specified

Offline oscampo  
#3 Posted : 29 June 2021 19:39:58(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 289
Man
Colombia
Location: Cali, Colombia

Was thanked: 124 time(s) in 83 post(s)
SMath Studio compatibility

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

USS-SMath.gif


Victory See Demo video on Youtube, click HERE


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

Edited by user 21 June 2022 19:59:54(UTC)  | Reason: Minor bugfixes and updates

thanks 1 user thanked oscampo for this useful post.
on 29/06/2021(UTC)
Offline Razonar  
#4 Posted : 29 June 2021 20:34:55(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,509
Uruguay

Was thanked: 976 time(s) in 610 post(s)
Amazing!

thanks 1 user thanked Razonar for this useful post.
on 29/06/2021(UTC)
Offline ZorryKid_  
#5 Posted : 29 June 2021 21:41:37(UTC)
ZorryKid_


Rank: Member

Groups: Registered
Joined: 17/09/2020(UTC)
Posts: 10
Location: Rome

Was thanked: 6 time(s) in 6 post(s)
Very good implementation !!

Franco
thanks 1 user thanked ZorryKid_ for this useful post.
on 29/06/2021(UTC)
Offline oscampo  
#6 Posted : 29 June 2021 22:46:59(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 289
Man
Colombia
Location: Cali, Colombia

Was thanked: 124 time(s) in 83 post(s)
Originally Posted by: Razonar Go to Quoted Post
Amazing!



thanks!
Offline oscampo  
#7 Posted : 29 June 2021 22:47:59(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 289
Man
Colombia
Location: Cali, Colombia

Was thanked: 124 time(s) in 83 post(s)
Originally Posted by: ZorryKid_ Go to Quoted Post
Very good implementation !!

Franco


Thank you!
Offline ErvinSchlesinger  
#8 Posted : 13 April 2023 17:26:48(UTC)
ErvinSchlesinger

Rank: Newbie

Groups: Registered
Joined: 11/04/2023(UTC)
Posts: 1
Location: Usa

Was thanked: 1 time(s) in 1 post(s)
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.

Edited by user 14 April 2023 13:02:19(UTC)  | Reason: Not specified

thanks 1 user thanked ErvinSchlesinger for this useful post.
on 13/04/2023(UTC)
Offline oscampo  
#9 Posted : 13 April 2023 17:51:21(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 289
Man
Colombia
Location: Cali, Colombia

Was thanked: 124 time(s) in 83 post(s)
Originally Posted by: ErvinSchlesinger Go to Quoted Post
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.


Thanks!
All feedback and comments are welcome.

Oscar
Offline oscampo  
#10 Posted : 22 December 2024 08:26:58(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 289
Man
Colombia
Location: Cali, Colombia

Was thanked: 124 time(s) in 83 post(s)
Prototyping a Football Game...



Football Assets1.sm (166kb) downloaded 5 time(s).

Edited by user 22 December 2024 08:36:54(UTC)  | Reason: Not specified

thanks 4 users thanked oscampo for this useful post.
on 22/12/2024(UTC),  on 22/12/2024(UTC),  on 22/12/2024(UTC),  on 15/01/2025(UTC)
Offline oscampo  
#11 Posted : 12 January 2025 02:03:04(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 289
Man
Colombia
Location: Cali, Colombia

Was thanked: 124 time(s) in 83 post(s)
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! Clap

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!
thanks 4 users thanked oscampo for this useful post.
on 12/01/2025(UTC),  on 12/01/2025(UTC),  on 12/01/2025(UTC),  on 15/01/2025(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.