Author Topic: Tic Tac Toe Rings  (Read 3005 times)

0 Members and 1 Guest are viewing this topic.

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

Offline FellippeHeitor

  • QB64 Developer
  • Forum Resident
  • Posts: 2493
  • LET IT = BE
    • QB64.org
Tic Tac Toe Rings
« on: March 20, 2020, 02:19:22 AM »
Here's another instance of me not being able to casually play a mobile game. I recently found the game Rings by a studio called Gamezaur. This is my attempt at recreating it.

I won't elaborate on the gameplay here. Keep the concept of "tic tac toe" in mind - except it's single-player mode - and you should master it in no time.

Latest version always available at https://github.com/FellippeHeitor/TicTacToeRing

edit: too much code inside the codebox was slowing down loading the forum, here's a direct link to the code (no extra files needed in this version): https://raw.githubusercontent.com/FellippeHeitor/TicTacToeRing/master/tictactoering.bas

« Last Edit: March 20, 2020, 10:08:17 AM by FellippeHeitor »

Offline Ashish

  • Forum Resident
  • Posts: 649
  • Burning Alone
Re: Tic Tac Toe Rings
« Reply #1 on: March 20, 2020, 04:36:50 AM »
Super Graphics and Effects! I like it a lot! :)
if (Me.success) {Me.improve()} else {Me.tryAgain()}


My Projects - https://github.com/AshishKingdom?tab=repositories
OpenGL tutorials - https://ashishkingdom.github.io/OpenGL-Tutorials

Offline Dimster

  • Seasoned Forum Regular
  • Posts: 401
Re: Tic Tac Toe Rings
« Reply #2 on: March 20, 2020, 08:20:01 AM »
Mesmerize with just trying to discover the scoring and had expected there to be only 3 basic color rings and had expected the game would stop at some point. I may give up solitaire for this game. Thanks for same.

Offline FellippeHeitor

  • QB64 Developer
  • Forum Resident
  • Posts: 2493
  • LET IT = BE
    • QB64.org
Re: Tic Tac Toe Rings
« Reply #3 on: March 20, 2020, 10:09:46 AM »
@Ashish Thanks for helping me beta test it! Thanks for your words.

@Dimster Glad you enjoyed it! My contribution for times of social isolation :-)

Offline bplus

  • Forum Resident
  • Posts: 5524
  • B+ Knot again!
Re: Tic Tac Toe Rings
« Reply #4 on: March 20, 2020, 10:21:10 AM »
Masterful! Still working out the points system for combos but way more interesting than Tic-tac-toe. :)

Offline FellippeHeitor

  • QB64 Developer
  • Forum Resident
  • Posts: 2493
  • LET IT = BE
    • QB64.org
Re: Tic Tac Toe Rings
« Reply #5 on: March 20, 2020, 10:21:22 AM »
A bit of the gameplay:

Offline FellippeHeitor

  • QB64 Developer
  • Forum Resident
  • Posts: 2493
  • LET IT = BE
    • QB64.org
Re: Tic Tac Toe Rings
« Reply #6 on: March 20, 2020, 10:24:29 AM »
@bplus Thanks a lot, man!

About points, you score 1 point for each ring you clear. If you have *just* scored a match, the immediate next one will have its points doubled; if you keep getting lucky, then it'll be tripled, then quadrupled... you get it.

Offline bplus

  • Forum Resident
  • Posts: 5524
  • B+ Knot again!
Re: Tic Tac Toe Rings
« Reply #7 on: March 20, 2020, 10:29:02 AM »
Ah! Your demo just showed that if you just get 3 of same color in row (doesn't have to be same size) that clears them with points added to score.

Is there a perfect game score? Or should we track our highest score?

Update: Oh it keeps multiplying by higher numbers if lucky, OK.
« Last Edit: March 20, 2020, 10:30:53 AM by bplus »

Offline FellippeHeitor

  • QB64 Developer
  • Forum Resident
  • Posts: 2493
  • LET IT = BE
    • QB64.org
Re: Tic Tac Toe Rings
« Reply #8 on: March 20, 2020, 10:41:18 AM »
Is there a perfect game score? Or should we track our highest score?

Yeah, this is mostly by high score. The more careful you are the farther in the game you get, but if you are lucky, this can run indefinitely.

Again, credit where it's due. Here's the original game I'm cloning:

Offline bplus

  • Forum Resident
  • Posts: 5524
  • B+ Knot again!
Re: Tic Tac Toe Rings
« Reply #9 on: March 20, 2020, 11:29:17 AM »
Ah! now I see you are tracking multiplier but no fireworks? ;-))

Man, I got past 100 and board almost cleared, this can be a great eater of time!
« Last Edit: March 20, 2020, 11:31:35 AM by bplus »

Offline TempodiBasic

  • Forum Resident
  • Posts: 1566
Re: Tic Tac Toe Rings
« Reply #10 on: March 20, 2020, 12:24:57 PM »
Very fine!
Can I find it on Google store?
Programming isn't difficult, only it's  consuming time and coffee

Offline FellippeHeitor

  • QB64 Developer
  • Forum Resident
  • Posts: 2493
  • LET IT = BE
    • QB64.org
Re: Tic Tac Toe Rings
« Reply #11 on: March 20, 2020, 12:57:28 PM »

Offline FellippeHeitor

  • QB64 Developer
  • Forum Resident
  • Posts: 2493
  • LET IT = BE
    • QB64.org
Re: Tic Tac Toe Rings
« Reply #12 on: March 20, 2020, 07:38:47 PM »
Thanks, CH! Glad you enjoyed playing it.

Offline TerryRitchie

  • Forum Resident
  • Posts: 611
  • Semper Fidelis
Re: Tic Tac Toe Rings
« Reply #13 on: March 21, 2020, 11:22:54 AM »
Another great example of what can be done with QB64. Fun game too!
In order to understand recursion, one must first understand recursion.

Offline FellippeHeitor

  • QB64 Developer
  • Forum Resident
  • Posts: 2493
  • LET IT = BE
    • QB64.org
Re: Tic Tac Toe Rings
« Reply #14 on: March 21, 2020, 11:28:56 AM »
Thanks Terry!