SMath Games

SMath Games - Some fun applications of SMath - Messages

#1 Posted: 10/11/2017 10:44:39 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

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 KiB) downloaded 117 time(s).

Mancala.gif
1 users liked this post
Davide Carpi 10/12/2017 6:46:00 AM
#2 Posted: 6/5/2018 12:31:36 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

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 :-p

https://community.ptc.com/t5/forums/filteredbylabelpage/board-id/PTCMathcad/label-name/puzzles%20&%20games
#3 Posted: 6/29/2021 1:39:58 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

SMath Studio compatibility

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

USS-SMath.gif


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
1 users liked this post
Alvaro Diaz Falconi 6/29/2021 2:34:00 PM
#4 Posted: 6/29/2021 2:34:55 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Amazing!

1 users liked this post
Oscar Campo 6/29/2021 2:58:00 PM
#5 Posted: 6/29/2021 3:41:37 PM
frap

frap

6 likes in 10 posts.

Group: User

Very good implementation !!

Franco
1 users liked this post
Oscar Campo 6/29/2021 4:46:00 PM
#6 Posted: 6/29/2021 4:46:59 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Wrote

Amazing!



thanks!
#7 Posted: 6/29/2021 4:47:59 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Wrote

Very good implementation !!

Franco



Thank you!
#8 Posted: 4/13/2023 11:26:48 AM
ErvinSchlesinger

ErvinSchlesinger

1 likes in 1 posts.

Group: User

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.
1 users liked this post
Oscar Campo 4/13/2023 11:50:00 AM
#9 Posted: 4/13/2023 11:51:21 AM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Wrote

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
#10 Posted: 12/22/2024 2:26:58 AM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Prototyping a Football Game...



Football Assets1.sm (165 KiB) downloaded 54 time(s).
4 users liked this post
Andrey Ivashov 1/14/2025 8:23:00 PM, francesco rapuano 12/22/2024 3:02:00 AM, Davide Carpi 12/22/2024 3:22:00 AM, Alvaro Diaz Falconi 12/22/2024 3:22:00 AM
#11 Posted: 1/11/2025 8:03:04 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

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!
4 users liked this post
francesco rapuano 1/12/2025 12:33:00 AM, Alvaro Diaz Falconi 1/12/2025 3:47:00 PM, Andrey Ivashov 1/14/2025 8:23:00 PM, Davide Carpi 1/11/2025 11:48:00 PM
  • New Posts New Posts
  • No New Posts No New Posts