https://www.liquidpoker.net/


LP international Poland    Contact            Users: 522 Active, 4 Logged in - Time: 03:14

My New Game

New to LiquidPoker? Register here for free!
Forum Index > Poker Blogs
Floofy   Canada. Feb 16 2012 20:13. Posts 8708
Hi guys i programmed a new game i was wondering if anyone wants to test it, or have ideas for it.

Its a game based on a classic computer science problem called knapsack problem, but i believe my version is more complex.

In this game, you first pick the number of gems that there will be for sale (i recommend 30-40), and then they are all randomly generated. All of them have a price between 10-30, a type (attack speed life) and a value (based on price, but a bit random).

You start with 100$ and can buy as many gems as you want, and all of those boost your warrior.

You can either play against a friend or against the computer by clicking a button which makes his pick all of his gems (the more gems there are, the longer his thinking time takes. Over 50 gems takes him a LONG time).

Then once both players are done picking, the battle is simulated 100 000 times (or more) and the % of the time each player won is displayed.

Note: speed determines what % of the time your character strikes. So if your speed is much higher than the ennemy, your character will play a lot more often than the ennemy.

Right now, the computer is extremely difficult to beat, i can only tie with him. The strategy is to try to pick the gems that offers the best price/value ratio, while making sure you spend all of your money, and you balance speed/attack/life properly.

The computer isn't perfect, but he plays really well.

0 votes
Facebook Twitter
james9994: make note dont play against floofy, ;( 

Ket    United Kingdom. Feb 16 2012 20:27. Posts 8665

sounds like a shit game ;(


Floofy   Canada. Feb 16 2012 20:40. Posts 8708

its not the kind of game i would expect people to play for hours...

its more the fun of getting crushed hard constantly by a super AI at a seemingly simple game (if you put only 15 gems, it should be simple, but computer still owns).

james9994: make note dont play against floofy, ;( 

Ket    United Kingdom. Feb 16 2012 20:50. Posts 8665

lol i know, i just thought it'd be really funny to post that one line, i was cracking up at my own comment. no offence intended obv

imo it'd get much more interesting if you invited ai opponents instead of human vs ai in some simple game.. a lot of university math/programming competitions work like that, where all the entering teams make their own ai and the ai strategies battle it out in a tournament.

my friend who's a math phd was once ages ago telling me about exactly such a competition he entered with a team from his uni battling against other unis that came to the conference. I can't remember the specifics of the game but his team won and his ai's strategy sounded super clever and awesome. ppl are really smart


Floofy   Canada. Feb 16 2012 21:02. Posts 8708

Right now my AI creation skill is not good enough to compete against people with computer science degrees (its only my first year in university). For SIMPLE games i can create perfect unbeatable AIs, (like the game in my last blog post) but i think anyone with a decent programming experience can do that too. contest are generally done for games with a reasonable ammount of complexity, so nobody can actually come up with a perfect AI.

For games which either are very complex (chess) or with imperfect information (poker), i am really not ready yet to enter a contest Actually i'm not even sure i could make a chess bot right now. If i was that good i would probably try to program a powerfull poker bot instead of unknown games i do this to practice programming AI so eventually maybe i can program usefull ones.

My current game somewhat has both complexity/unperfect information at the same time (if the number of gems is very high, the complexity is really high and my AI would think foreverrrr, and it also is unperfect information and i'm not that good yet to program in unperfect information games) so its not that easy i guess if the gem number is high.

However i don't think a unknown game like this would be taken for a contest i agree such contest must be fun thought but anyways right now my AI would probably get crushed.

All my AI does is look at every single buying combination possible, and analyse it using a formula made by myself (which tries to get both highest value possible / close values)

edit:
http://aichallenge.org/ just looked at this, seems kinda interesting

james9994: make note dont play against floofy, ;(Last edit: 16/02/2012 21:25

failsafe   United States. Feb 16 2012 21:43. Posts 1037

bootstraps bootstraps


terrybunny19240   United States. Feb 17 2012 10:48. Posts 13829

hey keep it up, its cool to read about

u should just upload and post a link to the stuff so people can try out your game on a whim instead of having to ask you etc

 Last edit: 17/02/2012 10:49

Kapol   Poland. Feb 19 2012 04:04. Posts 4696

agreed with Night

BIBLE (Basic Instructions Before Leaving Earth) 

 



Poker Streams

















Copyright © 2024. LiquidPoker.net All Rights Reserved
Contact Advertise Sitemap