Anyone can understand programming, just look at this:
public class Cat extends Pet {
public void getAttention(mistress) {
if(attention==false){
try{
sitOnKeyboard();
if(attention==true)
break;
pokeObject(breakable);
if(attention==true)
break;
chewOnCables();
if(attention==true)
break;
} catch (OverProvocationException op) {
runAwayHide();
}
}
}
public void main(String[] args) {
Cat.getAttention(me);
if(attention==true) {
purr();
}
}
}
Monday, July 18, 2011
Subscribe to:
Post Comments (Atom)
2 comments:
Hahaha!
Perfect cat AI, now you just need to build the body!
Post a Comment