Author Topic: Reversi/Othello: DT's other 2011 contest entry  (Read 18603 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Reversi/Othello: DT's other 2011 contest entry
« on: August 08, 2011, 12:36:07 am »
More info coming soon!

EDIT0: Play it online at http://education.ti.com/html/nspireplayer/3.0.1/application/?nspirefile=http://clrhome.org/projects/reversi/English/Reversi.tns, or download here! A video:



EDIT: A screenshot:



EDIT2: Some info!

Reversi (Nspire)

Reversi is one of my favorite board(-ish) games of all time, so here's my port in Lua! I don't actually have an Nspire so I don't really even know if it works or not, but hopefully nspire_emu is accurate enough :D

Controls:

Arrow keys (or mouse) to move the cursor, click (or enter) to put down a piece. Tab for a hint (in case you can't find a place to put down your piece), escape to go back to the main menu.

AI:

Comes in two modes, n00b (easy) or WinRAR (hard). (Should I cut down on the memes? :P) WinRAR looks two steps ahead, n00b one. It's not very intelligent, but oh well.

Er, more info coming soon.
« Last Edit: December 16, 2011, 12:18:15 am by Deep Thought »




Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #1 on: August 08, 2011, 12:57:21 am »
I know of this game by Othello, it is fun!
« Last Edit: August 08, 2011, 12:57:31 am by t0xic_kitt3n »

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #2 on: August 08, 2011, 12:35:23 pm »
wow.  It looks good, have you sent the program in yet?

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #3 on: August 08, 2011, 12:42:28 pm »
Wow, this looks great! Can't wait to play it!
On a side note, how did you make the AI "look ahead?"

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #4 on: August 08, 2011, 12:48:25 pm »
Wow, this looks great! Can't wait to play it!
Thanks!
On a side note, how did you make the AI "look ahead?"
Go through every possible placement and count the number of pieces advantage after the play. In the case of WinRAR, it also goes through the opponent's possible moves. (Lua is freakin' fast O.O)
wow.  It looks good, have you sent the program in yet?
No, and I haven't even backed up <_<




Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #5 on: August 08, 2011, 02:17:29 pm »
Lua is definitely fast, and you are definitely awesome

Hot_Dog really needs to buy a Nspire :)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #6 on: August 08, 2011, 02:26:33 pm »
Lua is definitely fast
It is.
and you are definitely awesome
Thank you :D
Hot_Dog really needs to buy a Nspire :)
I actually took the time to make this game 100% playable in any of TI's mouse-driven simulators. Which means you can just drag it in to this and play it online! That's how I'm doing it myself anyway, since I don't have an Nspire either :D
« Last Edit: August 08, 2011, 02:27:15 pm by Deep Thought »




Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #7 on: August 10, 2011, 09:27:50 am »
You should make the game in isometric 3d like how it is on the title screen :o

j/k (no, do it ;D) Regardless, this looks cool. :)

Also maybe make the white pieces easier to see? How many shades of gray can you use, anyway?
« Last Edit: August 10, 2011, 09:28:35 am by squidgetx »

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #8 on: August 10, 2011, 11:39:51 am »
You should make the game in isometric 3d like how it is on the title screen :o

j/k (no, do it ;D) Regardless, this looks cool. :)

Also maybe make the white pieces easier to see? How many shades of gray can you use, anyway?
There are 16 shades of gray on the Nspire.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #9 on: August 10, 2011, 12:29:19 pm »
You should make the game in isometric 3d like how it is on the title screen :o
If I stop procrastinating, I could actually get that done. I accidentally that once, anyway :D

Only reason I didn't keep it was because I was too lazy to make the pieces 3D to match.
« Last Edit: August 10, 2011, 12:29:42 pm by Deep Thought »




Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #10 on: August 10, 2011, 12:31:33 pm »
You should make the game in isometric 3d like how it is on the title screen :o

j/k (no, do it ;D) Regardless, this looks cool. :)

Also maybe make the white pieces easier to see? How many shades of gray can you use, anyway?
I agree, perhaps make the background a medium shade of gray.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #11 on: August 10, 2011, 12:35:59 pm »
You should make the game in isometric 3d like how it is on the title screen :o

j/k (no, do it ;D) Regardless, this looks cool. :)

Also maybe make the white pieces easier to see? How many shades of gray can you use, anyway?
I agree, perhaps make the background a medium shade of gray.
It's actually light green, so if I make it any darker it won't look as nice on an Nspire CX. A lot of players are probably gonna try it online anyway.




Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #12 on: August 11, 2011, 06:55:11 pm »
Finished making it 100% compatible with the online player, and it's done and sent in!
EDIT: I cut down a quarter of the file size by taking out unnecessary whitespace O.O
« Last Edit: August 11, 2011, 06:58:02 pm by Deep Thought »




Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #13 on: August 12, 2011, 05:46:48 am »
Looks like a nice game.
Good luck!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Reversi/Othello: DT's other 2011 contest entry
« Reply #14 on: August 14, 2011, 11:11:49 pm »
Hmm, I have one more day to work on it tomorrow. Maybe I'll touch it up a bit.