Vswe's Summer Courses | You're not logged in. Sign up or log in | Server time: | Donate
One can now see other persons' badge hunts. Simply head over to their profiles to access them.

Go back to course page

Thinking with objects

Object orientated programming in Java

Question about the AI

  • 2013-12-27 00:18:15
    If possible, could we code an AI better than 'random'? Even something a simple as preferring a card of the same suit would be better.

    I would understand completely if you don't want us to, the conformity ideally makes it much easier to mark mistakes.
  • 2013-12-27 02:59:03
    There is nothing in the instructions stopping you from adding additional features. You just have to fulfill all the requirements and you can pass the course In this case, I think you can give your AI a little bit of intelligence. just make sure there is some randomisation somewhere
  • 2013-12-27 09:57:26
    To be honest, I think the 'random' part is what's making the AI terrible D:
    Maybe I'll add it as an option for the player..?
    Either way, Thanks for your input.
  • 2013-12-31 11:47:37
    There are a few people who make two types of bots, one smart one and one stupid one. There's nothing wrong with this it all, it even given you more practice with object oriented programming.
  • Log in or sign up to reply to this thread