* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Short Circuit - an electronics puzzle game  (Read 1672 times)

0 Members and 1 Guest are viewing this topic.

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 726
  • Post Rating Ratio: +10/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
    • View Profile
  • Gender: Male
Short Circuit - an electronics puzzle game
« on: January 25, 2017, 06:39:51 am »
Long time, no see, everyone ;)

@123outerme 's programming "group" Tilda^3 just got a new member...me! Of course, the first project I suggested to do was a puzzle game on the TI-84+.
The result of our creative processes? Short Circuit.



This is a demo right now, showing you each object you can place (in order, these are straight wires, curved wires, forked wires, crossing wires, AND gates, OR gates, NOT gates, and diodes). Those numbers above each object will end up being the amount you have left to use.

Here are the controls:
ARROW KEYS - move cursor
PLUS/MINUS - go through objects
MODE - rotate selected object
2ND - place object
ALPHA - erase

Download here. We also have a GitHub repository, if anyone wants to take a look at that.


  • Calculators owned: TI-84+, TI-84+ CSE, TI-84+ CE

Offline p2

  • CodeWalrus Staff
  • Super User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Join Date: Aug 2016
  • Location: Germany
  • Posts: 2197
  • Post Rating Ratio: +8/-0
  • *Wubba lubba dub dub*
    • KaliPhobos
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #1 on: January 25, 2017, 12:44:13 pm »
Wow it looks really nice!! ;D It's nice how you moved the items selector to the right so the numbers wont be misunderstood as row numbers ^^
ill there be harder//bigger levels? Or wont you ever use the entire map's space? :)
Also you might want to add some stats like level number and time on the right side (much empty space) :)

I like it  :thumbsup:
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 726
  • Post Rating Ratio: +10/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #2 on: January 25, 2017, 02:20:09 pm »
Wow it looks really nice!! ;D It's nice how you moved the items selector to the right so the numbers wont be misunderstood as row numbers ^^
ill there be harder//bigger levels? Or wont you ever use the entire map's space? :)

That 8x11 grid is the maximum size we have for levels. I do believe there will be a few places where we will use the entire map space, and there may be a level editor to make your own levels as big/complicated as you want as well.

Also you might want to add some stats like level number and time on the right side (much empty space) :)

I like it  :thumbsup:
That's the plan ;)

Thanks!

Offline p2

  • CodeWalrus Staff
  • Super User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Join Date: Aug 2016
  • Location: Germany
  • Posts: 2197
  • Post Rating Ratio: +8/-0
  • *Wubba lubba dub dub*
    • KaliPhobos
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #3 on: January 25, 2017, 02:35:24 pm »
Wow it looks really nice!! ;D It's nice how you moved the items selector to the right so the numbers wont be misunderstood as row numbers ^^
ill there be harder//bigger levels? Or wont you ever use the entire map's space? :)

That 8x11 grid is the maximum size we have for levels. I do believe there will be a few places where we will use the entire map space, and there may be a level editor to make your own levels as big/complicated as you want as well.
uuuh better stay away from introducing scrolling for bigger maps.....
sure it would be possible but you wont be able t oreally see everyrhing as it doesnt use greyscale xD TWould be too hard to see things then ^^
(by the way, a light greyscale would be AWESOME for the background grid) ;)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 726
  • Post Rating Ratio: +10/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #4 on: January 25, 2017, 02:38:42 pm »
Wow it looks really nice!! ;D It's nice how you moved the items selector to the right so the numbers wont be misunderstood as row numbers ^^
ill there be harder//bigger levels? Or wont you ever use the entire map's space? :)

That 8x11 grid is the maximum size we have for levels. I do believe there will be a few places where we will use the entire map space, and there may be a level editor to make your own levels as big/complicated as you want as well.
uuuh better stay away from introducing scrolling for bigger maps.....
sure it would be possible but you wont be able t oreally see everyrhing as it doesnt use greyscale xD TWould be too hard to see things then ^^
(by the way, a light greyscale would be AWESOME for the background grid) ;)
No scrolling, levels will never need to be bigger than the grid size. And grayscale in TI-BASIC would be nice, but impossible :P

Offline xMarminq_

  • Full User
  • Join Date: Sep 2016
  • Location: Generic Location
  • Posts: 342
  • Post Rating Ratio: +2/-0
  • Generic Personal Text
    • @UCUWQR30oIW2fRqCNI2IDGIA
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #5 on: January 25, 2017, 02:46:22 pm »
THIS IS IN BASIC?!  O.O
  • Calculators owned: Ti-84 Plus CE, Ti-84 Plus (can be borrowed from my school)
???????????????

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 726
  • Post Rating Ratio: +10/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #6 on: January 25, 2017, 02:51:48 pm »
THIS IS IN BASIC?!  O.O
Completely. Commented source code is right here, or open the program in the editor if you don't believe me ;)

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3155
  • Post Rating Ratio: +31/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • View Profile
    • quantuminfinity
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #7 on: January 25, 2017, 03:58:06 pm »
Looks really cool :) You should ad a freeplay mode too. What kind of building blocks are implemented/planned btw?
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline kotu

  • Walrus Extender Utils
  • Super User
  • Join Date: Aug 2016
  • Location: UK
  • Posts: 913
  • Post Rating Ratio: +7/-7
    • profile.php?id=100010378444176
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @djkotu
    • @romanov-psyco
    • View Profile
    • futurerave.uk
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #8 on: January 25, 2017, 04:09:54 pm »
i see a problem - where does a gate take its inputs from? two squares either side, and ignore the square directly behind it??

also, the levels could be fiendishly difficult (too difficult) with that size of map.
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PS3
we not doing it.
UPDATE we are not doing it.
proud member of the MATEOCONLECHUGA fansite.

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 726
  • Post Rating Ratio: +10/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #9 on: January 25, 2017, 04:24:58 pm »
Looks really cool :) You should ad a freeplay mode too.

Freeplay? What do you mean by that?

The gameplay, by the way, will be that you have some certain objects already placed, and you have to strategically place blocks in order to be able to connect the circuits. You will be able to see them running, which will certainly help in planning and visualizing.

What kind of building blocks are implemented/planned btw?
(in order, these are straight wires, curved wires, forked wires, crossing wires, AND gates, OR gates, NOT gates, and diodes)
If you're looking for behavior, though:

Straight wires will allow a current to pass straight through a block.
Curved wires will turn the path of a current.
Forked wires will allow a current of one type to fork in two directions.
Crossing wires will allow a current to pass straight through a block, as well as pass straight through in the other orientation, without disturbing each other.
AND gates will take 2 or more wires hooked up to it, and output a current based on ANDing the currents supplied to it. (Currents can be ON or OFF while travelling, and if a current doesn't arrive, it counts as OFF.)
OR gates will take 2 or more wires hooked up to it, and output a current based on ORing the currents supplied to it.
NOT gates will take 1 current supplied to it, and output a current based on NOTing the input.
Diodes will allow a current to pass the direction it points, but not the other.

i see a problem - where does a gate take its inputs from? two squares either side, and ignore the square directly behind it??

also, the levels could be fiendishly difficult (too difficult) with that size of map.
A gate will take input from any square that is not directly in front of it (besides NOT gates...we'll work out that behavior later). The currents coming to the gate at that time will be taken into account.

These levels COULD be difficult, but we plan for them not to be. ;)

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18188
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #10 on: January 25, 2017, 11:52:18 pm »
This looks absolutely amazing, especially considering it's pure TI-BASIC. Nice use of text sprites there. Also the game reminds me of Pipe Dream for the PC for some reasons, but with electric cables. As for free play mode, I think Snektron meant a sandbox mode where you can build a cable network of any size you want without being limited to the main levels, but maybe I am wrong
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline 123outerme

  • Super User
  • Join Date: Jan 2015
  • Location: In spaaace! Well, the Earth is anyhow.
  • Posts: 583
  • Post Rating Ratio: +2/-0
  • Professional Unpaid Intern
    • 113/11355
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #11 on: January 26, 2017, 12:04:56 am »
This looks absolutely amazing, especially considering it's pure TI-BASIC. Nice use of text sprites there. Also the game reminds me of Pipe Dream for the PC for some reasons, but with electric cables. As for free play mode, I think Snektron meant a sandbox mode where you can build a cable network of any size you want without being limited to the main levels, but maybe I am wrong
That would be a really interesting mode! I'm not sure how we'd handle outputting each item as having infinity of them though :P Maybe we just wouldn't output numbers at all.
But yeah, I'll consult my higher-up.
(Even though he said he joined my programming group, JWinslow is pretty much the head of this project, since he's come up with most of the code and a lot of the ideas :P )
  • Calculators owned: TI-84+CSE, TI-nspire Clickpad, TI-84+SE

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18188
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #12 on: January 26, 2017, 04:20:27 am »
For the sandbox mode I would just say have the user do whatever he wants then he can test his build to see if it will short circuit. It's not very important for now, though, as long as the rest of the game works :)

Also lol small programming groups are getting rare nowadays, although at least I am glad they no longer all start their own forums like back in 2005 (if you check TI-Story you will notice dozens of small forums starting in 2004-05 and not even lasting through the year lol)


By the way, this would most likely be possible on a CE, but there might be some artifacts since I don't think all character combinations are available. On color calcs, people might be better off using ICE or some BASIC lib.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Online JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 726
  • Post Rating Ratio: +10/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #13 on: January 27, 2017, 08:18:58 pm »
I would like to confirm that I am starting work on actually running currents. I will add in, at the very least, straight paths for now, and then we'll see where it heads. No pun intended ;)

Offline p2

  • CodeWalrus Staff
  • Super User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Join Date: Aug 2016
  • Location: Germany
  • Posts: 2197
  • Post Rating Ratio: +8/-0
  • *Wubba lubba dub dub*
    • KaliPhobos
    • View Profile
  • Gender: Male
Re: Short Circuit - an electronics puzzle game
« Reply #14 on: January 28, 2017, 12:02:45 pm »
inb4 we'll have a redstone simulator here :thumbsup:
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games