ChaelCodes / CorneliusCodes

Cornelius, the Corn Snake who codes, is a Rusty Battlesnake Baby.
MIT License
2 stars 5 forks source link

Cornelius runs into Hettie #2

Closed ChaelCodes closed 3 years ago

ChaelCodes commented 3 years ago

Description

Cornelius keeps running into Hettie (and it's only chapter 1 😳) Let's prevent Cornelius from running into Hettie, when they can. Cornelius-and-Hettie run into each other... head first

Caleb-T-Owens commented 3 years ago

This could be an extension of the solution of #6 as a similar solution of creating a list of illigal squares could be applied

ChaelCodes commented 3 years ago

This could be an extension of the solution of #6 as a similar solution of creating a list of illigal squares could be applied

Good point!

ChaelCodes commented 3 years ago

Cornelius still headbutts other snakes. Let's mark the squares around their head as invalid, IF they're same size or bigger than Corny.