|
|
|
|
|
Computer Player
- Posted on: 6/15/2018
[Shuffleboard18]
|
I'm working on the conditions and logic for the computer player. I've got it to recognize when opponent pucks are near the edge, and it will knock it off the edge. It targets the highest scoring position first. If no pucks are near the edge, it simply chooses a random target position.
Now, I'm working on a function to detect when the computer puck is behind or in front of an opponent puck, that will prevent the computer from blocking itself or knocking off its own puck.
It's already feeling like a real match, with a nice back-and-forth pace, but I know I'm far from completed...
Once, these basic conditions are down. I will attempt to add more specific scenarios and math for calculating the best angle, force, and more complex factors.
<< Back to main news page
|
|
|
|
|
|
|
Updates... 6/28/2018 |
The scoreboard text color now matches the custom colors. | |
Custom colors... 6/23/2018 |
I got the idea to allow the user to change the level colors... | |
Computer Player 6/19/2018 |
Added a puck animation for the computer player... | |
Updates... 6/18/2018 |
As I'm playing, I keep noticing things that need improvement... | |
Model updates... 6/17/2018 |
I updated the shuffleboard exterior. Now it has smooth round corners, proper textures, and three various materials for each level! | |
|