[finished] Cento (simple board game)

Discussion, Reviews & High-scores

Moderator: Moderators

User avatar
pallas
Vic 20 Devotee
Posts: 212
Joined: Mon Dec 24, 2012 2:38 am

[finished] Cento (simple board game)

Postby pallas » Mon Feb 18, 2013 10:09 am

Hello!

I finally made my first game and program for the vic-20 after almost 30 years!
It's all basic and petscii for the unexpanded vic.

Image
Image

I'd really appreciate any programming advice you can give: there are probably many optimizations which can be done on my basic listing.

prg here: http://www.opbyte.it/vic20/cento.prg

Thanks for having a look :-)

EDIT: I started a vic-20 page here: http://www.opbyte.it/vic20/, hoping to have time to write some other programs soon!
Last edited by pallas on Thu Mar 07, 2013 5:01 am, edited 1 time in total.

User avatar
vicist
Vic 20 Devotee
Posts: 204
Joined: Tue Oct 09, 2012 5:26 am
Location: Surrey, UK

Postby vicist » Tue Feb 19, 2013 3:04 pm

Nice game. A bit like Knight's Move. I love these simple puzzlers.

With such a small amount of code I wouldn't bother trying to optimise anything. The game works as it should so why worry? :wink:

User avatar
pallas
Vic 20 Devotee
Posts: 212
Joined: Mon Dec 24, 2012 2:38 am

Postby pallas » Wed Feb 20, 2013 3:03 am

Thanks!
There is a good thing about programming on the VIC. It's that the programs get finished :-)
On todays environments, there is always something new to be fixed!

User avatar
orion70
Meteo VIC
Posts: 3276
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Postby orion70 » Wed Feb 20, 2013 7:05 am

Congratulations on this Pallas, nice game :) . Also, I see from your website you are a programmer, so we expect more games from you!

User avatar
pallas
Vic 20 Devotee
Posts: 212
Joined: Mon Dec 24, 2012 2:38 am

Postby pallas » Wed Feb 20, 2013 7:13 am

Thanks and yes, the plan is to make some more in the future: I really enjoyed making "cento" so it will be fun making other games or little programs like that. If time permits, of course :-)

As many said before, the limited resources makes you concentrate on playability instead of appearance. And it's nice to finish a program instead of keeping it "under development" forever ;-)

BTW one of my ideas was to write a "chain reaction" game, I think it would be fun.

User avatar
pallas
Vic 20 Devotee
Posts: 212
Joined: Mon Dec 24, 2012 2:38 am

Postby pallas » Thu Feb 21, 2013 6:06 am

I wasn't satisfied with the time it took to do the "game over" check, so I did a bit of optimization and uploaded the new .prg file.
Now it feels quicker when doing fast moves.
Every single instruction and FOR cycle matters! ;-)

User avatar
Ghislain
Realms of Quest
Posts: 1064
Joined: Sun Aug 08, 2004 12:54 am

Postby Ghislain » Thu Feb 21, 2013 7:12 am

pallas wrote:Thanks!
There is a good thing about programming on the VIC. It's that the programs get finished :-)
On todays environments, there is always something new to be fixed!


I generally prefer working on a canvas of 3.5K -- it forces me to be efficient with code and not delve into too much feature creep.

But, I'm constantly adjusting and modifying my old stuff to make improvements. At least for me, a VIC-20 game is never really finished.
"A slave is one who waits for someone to come and free him." -- Ezra Pound

User avatar
Jeff-20
Denial Founder
Posts: 5451
Joined: Wed Dec 31, 1969 6:00 pm

Postby Jeff-20 » Fri Feb 22, 2013 12:08 am

Ghislain wrote:I generally prefer working on a canvas of 3.5K -- it forces me to be efficient with code and not delve into too much feature creep.


yes
High Scores, Links, and Jeff's Basic Games page.

User avatar
pallas
Vic 20 Devotee
Posts: 212
Joined: Mon Dec 24, 2012 2:38 am

Postby pallas » Wed Mar 06, 2013 2:47 am

Just wanted to add some info on the solving strategies (without losing all the fun!).

By playing "normally", i.e. jumping around without a specific pattern, I was able to reach 99, but never fill the full board.

There is a known pattern which gets to 100, and is based on "divide et impera". But it assumes the starting point is at the top-left, that's why I've set the initial point randomly (also to add some variation to the game).

There are probably multiple patterns like this one and it probably works with other initial positions as well, but I dind't have time or wish to prove it :-)

matsondawson
The Most Noble Order of Denial
Posts: 343
Joined: Fri May 01, 2009 4:44 pm

Postby matsondawson » Wed Mar 06, 2013 3:01 am


User avatar
pallas
Vic 20 Devotee
Posts: 212
Joined: Mon Dec 24, 2012 2:38 am

Postby pallas » Wed Mar 06, 2013 3:55 am

matsondawson wrote:Obligatory emulator link :)
http://www.mdawson.net/vic20chrome/vic2 ... neType=pal


Thanks! Can I put this link in my vic-20 page?

matsondawson
The Most Noble Order of Denial
Posts: 343
Joined: Fri May 01, 2009 4:44 pm

Postby matsondawson » Wed Mar 06, 2013 2:52 pm

pallas wrote:
matsondawson wrote:Obligatory emulator link :)
http://www.mdawson.net/vic20chrome/vic2 ... neType=pal


Thanks! Can I put this link in my vic-20 page?


Sure, anyone can put those links on thier pages as the source of the .prg is your original URL.

User avatar
KingTrode
Vic 20 Hobbyist
Posts: 133
Joined: Tue Apr 13, 2010 2:32 am

Postby KingTrode » Tue Mar 12, 2013 2:33 pm

Just had a quick play on this whilst testing GB20.

Nice little puzzle game you have put together here, great job for your first VIC game.


KingTrode / Jim

User avatar
pallas
Vic 20 Devotee
Posts: 212
Joined: Mon Dec 24, 2012 2:38 am

Postby pallas » Wed Mar 13, 2013 4:43 am

KingTrode wrote:Just had a quick play on this whilst testing GB20.

Nice little puzzle game you have put together here, great job for your first VIC game.


KingTrode / Jim


Thanks :-)

On a side note, I'd like to know if anybody get it to 100 :)

Dodges
Vic 20 Newbie
Posts: 1
Joined: Tue Apr 04, 2017 12:03 pm

Re:

Postby Dodges » Fri Apr 07, 2017 12:27 am

pallas wrote:
KingTrode wrote:Just had a quick play on this whilst testing GB20.

Nice little puzzle game you have put together the https://www.taledc.com/penimaster-pro-review-results penimaster pro here, great job for your first VIC game.

KingTrode / Jim


Thanks :-)

On a side note, I'd like to know if anybody get it to 100 :)


Fun little game and my max is 77 lol.
Last edited by Dodges on Tue Sep 05, 2017 3:57 am, edited 2 times in total.


Return to “Games”

Who is online

Users browsing this forum: No registered users and 1 guest