QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Tetris AI

This is a discussion on Tetris AI within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I programmed a very simple tetris engine + AI. The graphics are all ascii at the moment. Just run it, ...

Reply
 
LinkBack Thread Tools
Old 08-05-2005, 11:40 AM   #1
PREMIUM Member
 
Join Date: Jul 2005
Posts: 27
Trader Feedback: 0
Default Tetris AI

I programmed a very simple tetris engine + AI.
The graphics are all ascii at the moment.

Just run it, and it'll start playing by itself.
Other than that, it dosn't do much yet.
Attached Files
File Type: zip Tetris.zip‎ (63.8 KB, 16 views)
TerryHau is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2005, 12:23 PM   #2
Aerol33t
Guest
 
Posts: n/a
Default

Very cool Terry! This could obviously be used to make a VERY fun Player vs. CPU homebrew tetris game...
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2005, 12:33 PM   #3
NDS Mod
 
MagicianFB's Avatar
 
Join Date: Jul 2005
Location: w00+land
Posts: 645
Trader Feedback: 0
Default

Tetris uses AI?

EDIT: Oh nevermind. :doh: I get it now.
__________________
"15% percent of programing is creating a program, 85% percent is getting it to work like it should." - Me
[URL=http://www.mozilla.org/products/firefox/][IMG]http://img439.imageshack.us/img439/5667/getfirefox0sr.png[/IMG][/URL]
MagicianFB is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2005, 12:57 PM   #4

Site Admin
 
thedan's Avatar
 
Join Date: May 2005
Location: Internet
Posts: 355
Trader Feedback: 0
Default

I like it alot =) It opens the doors for some interesting human vs ai homebrew =D
__________________
[FONT=Fixedsys]"Man's mind, once stretched by a new idea, never regains its original dimensions."[/FONT]
[I][SIZE=1]- Oliver Wendell Holmes[/SIZE][/I]
---
[B]source[/B]: [I][SIZE=2][U][URL=http://forums.qj.net/member.php?u=1604]FrozenIpaq's Signature[/URL][/U][/SIZE][/I]
[center][size=1][size=1][color=black][url="http://forums.qj.net/showthread.php?t=19678"]
[/url] [url="http://forums.qj.net/showthread.php?t=19678"][Thank You Members!!][/url] --- [url="http://forums.qj.net/showthread.php?goto=newpost&t=16876"]Ultimate Newbie Guide[/url]--- [url="http://forums.qj.net/showthread.php?p=13162#post13162"]Posting Guidelines[/url]
[url="http://forums.qj.net/showthread.php?t=4394"]Piracy Policy[/url] --- [url="http://forums.qj.net/showthread.php?t=2189&highlight=Ultimate"]Ultimate Guide[/url] --- [url="http://forums.qj.net/showthread.php?goto=newpost&t=18205"]Downgrader Topic[/url]
[url="http://forums.qj.net/showthread.php?t=9708"]Operation PSPositive Posting[/url]
[/color][/size] [/size][/center]
thedan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2005, 02:19 PM   #5

Developer
 
Gary13579's Avatar
 
Join Date: Jul 2005
Posts: 57
Trader Feedback: 0
Default

Is there any chance that this will be made open source?

I would love to try and make a human vs. cpu game of tetris...
Gary13579 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2005, 02:30 PM   #6
PREMIUM Member
 
Join Date: Jul 2005
Posts: 27
Trader Feedback: 0
Default

Quote:
Originally Posted by Gary13579
Is there any chance that this will be made open source?

I would love to try and make a human vs. cpu game of tetris...
Yeah when i clean up the code a little bit and maybe add some stuff.
-_- its very rough at the moment and my code is quiet terrible.

:boohoo:
TerryHau is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2005, 02:32 PM   #7

Developer
 
Gary13579's Avatar
 
Join Date: Jul 2005
Posts: 57
Trader Feedback: 0
Default

Quote:
Originally Posted by TerryHau
Yeah when i clean up the code a little bit and maybe add some stuff.
-_- its very rough at the moment and my code is quiet terrible.

:boohoo:
The original maker of snes9x said the same thing with version 0.03, and never did it :P

But, it would probably be easier on me if code was cleaner. I'm just impatient.
Gary13579 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2005, 03:18 PM   #8

Site Admin
 
thedan's Avatar
 
Join Date: May 2005
Location: Internet
Posts: 355
Trader Feedback: 0
Default

Quote:
Originally Posted by Gary13579
The original maker of snes9x said the same thing with version 0.03, and never did it :P

But, it would probably be easier on me if code was cleaner. I'm just impatient.
The possibilites are endless =b Clean code is better than dirty code imo, always be sure to code safe and use protection =D

- Dan
__________________
[FONT=Fixedsys]"Man's mind, once stretched by a new idea, never regains its original dimensions."[/FONT]
[I][SIZE=1]- Oliver Wendell Holmes[/SIZE][/I]
---
[B]source[/B]: [I][SIZE=2][U][URL=http://forums.qj.net/member.php?u=1604]FrozenIpaq's Signature[/URL][/U][/SIZE][/I]
[center][size=1][size=1][color=black][url="http://forums.qj.net/showthread.php?t=19678"]
[/url] [url="http://forums.qj.net/showthread.php?t=19678"][Thank You Members!!][/url] --- [url="http://forums.qj.net/showthread.php?goto=newpost&t=16876"]Ultimate Newbie Guide[/url]--- [url="http://forums.qj.net/showthread.php?p=13162#post13162"]Posting Guidelines[/url]
[url="http://forums.qj.net/showthread.php?t=4394"]Piracy Policy[/url] --- [url="http://forums.qj.net/showthread.php?t=2189&highlight=Ultimate"]Ultimate Guide[/url] --- [url="http://forums.qj.net/showthread.php?goto=newpost&t=18205"]Downgrader Topic[/url]
[url="http://forums.qj.net/showthread.php?t=9708"]Operation PSPositive Posting[/url]
[/color][/size] [/size][/center]
thedan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
tetris

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 12:45 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us