Author Topic: Pool Nspire  (Read 33466 times)

0 Members and 2 Guests are viewing this topic.

Offline Wayne

  • LV3 Member (Next: 100)
  • ***
  • Posts: 72
  • Rating: +3/-3
    • View Profile
Re: Pool Nspire
« Reply #30 on: August 09, 2012, 04:49:20 pm »
Do you mean coding or how to count. I have no idea of coding :-[

Edit: The only way i can help is to test your game and give suggestions for new features ;)
« Last Edit: August 10, 2012, 11:08:51 am by Wayne »

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: Pool Nspire
« Reply #31 on: August 10, 2012, 12:25:34 pm »
I meant how to count, yes. :)

Ok thanks I'll post the future versions here anyway. ;)
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline xacto

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +10/-0
    • View Profile
Re: Pool Nspire
« Reply #32 on: August 10, 2012, 09:59:17 pm »
This looks really cool. And it works great too. :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Pool Nspire
« Reply #33 on: August 11, 2012, 01:01:36 am »
I saw this on TI-Planet and this looks great. I need to try it since in the animated screenshots the colors sometimes disappear due to low color depth from CalcCapture.

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Pool Nspire
« Reply #34 on: September 10, 2012, 01:53:41 am »
Oh wow looks like you know your stuff. I've looked at your explanation on the first page about the physics. It boggles me (for now) but great to see some nice Lua development. Is it ready for a ticalc.org release?
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: Pool Nspire
« Reply #35 on: October 06, 2012, 11:54:04 am »
Hello Jonius ! :)

Thank you. :) Yeah the collisions were kinda complex, and trying to explain this in english increases the difficulty.. :P

No I don't think it's ready for a ticalc release. And moreover I'm still not registered on ti-calc ! :P But you can still try it out ! It's already playable, with 3D view ! But no rules, no AI.

The project is standby currently because of school.. But since the last release, I have implemented the rules and managed to do an AI partially working ! :D
Indeed the AI is already able to aim for a right ball according to the rules, and to enter it even using "combos" of n balls !  (using a recursive function and a sort of dichotomy to detect potential balls on the way.. :P )

So the project will be continued obviously, but not right away.

(Moreover I should correct ABA Logique Nspire to get it compatible with 3.2 ! :/ )
« Last Edit: October 06, 2012, 11:56:18 am by Loulou 54 »
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: Pool Nspire
« Reply #36 on: July 19, 2013, 07:25:54 pm »
Hi,

I post here a reply to a user who asked me about the progress on the game. As there is an attached file and as I explain some stuffs, I put the answer here.
So you can watch my very early version of AI working on this file ! ;)


Quote from: binly
Hi, your nSpire pool game is a really great game that I love, and since you haven't posted about it in a while I was wondering if there have been any updates to it? I love the game and an update with AI or any other improvements would be great!


Quote from: Loulou 54
Hello !

Thank you for this feedback ! :)
Yes I had to stop the development of this game because of my very busy school year. But now that I'm recently on hollidays (ans that next year should be less time consuming ;) ) I should continue some calculator project :
* first I plan to finish the release of ABA Logique Nspire for the OS 3.2 that I started last november ! (this a program about boolean algebra)
* then I will continue Pool Nspire ! I stopped progressing since end of august. I was indeed making an AI ! And improving the physics to make it more accurate.

So if you want, I can give you an unpublished version where the AI is playing against itself ! :)
The rules are even implemented !
In this version I was also trying out a new version of the physics engine but there are impressive bugs when many balls hit at the same time, as it often does at the beginning... ^^ But this engine is more accurate so the AI is better with this one ! ;) I'll have to improve it though.

Currently the AI can enter a ball according the rules, using combos of n balls ! This work already pretty well ! :)
But when the AI can't enter a ball this way, (it can't think with bounces on the bords yet) so when it doesn't know what to do, it just shoot very hard in a random direction ! :P
(so the AI can sometime be very strong and very stupid the next move ^^ but this will be improved obviously)

So yeah, have fun, even if you can only stare at the game on this version ! :P

PS : don't forget to try [tab] button ! ;)
(and [r] = reset the game)
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471