Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

This probably sounds like a school assignment but I guarantee you, none of my teachers know enough about computers to ask me for such a thing :-(


Being high-school students, everyone in my class (myself included) gets bored easily when teachers ramble about french poetry and whatnot. We started playing four-in-a-row (I even created my own version which has three colours ... but not many people are smart enough to play it, let alone beat me ;-)), but everyone wants to practice at home (yeah, they're mental).

I was asked by some friends to code a game which they could use to play at home so now I want to learn some A.I. techniques. Can anyone tell me where to start reading? Anyone with experience in coding computer opponents for games? I've never done this and wouldn't know where to start.

I know this is gonna rock, and maybe show some of my classmates that programming is more cool than what we learned about integers and document.writeln() in JavaScript last year ... I nearly cried when the teacher raped the art of programming like that!

Thanks in advance,
CBAS


In reply to AI programming by $CBAS

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-20 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found