Bachelor`s Night
A downloadable game for Windows
ABOUT
You are celebrating the last night of your best friend as bachelor. Go around the town and find ways to have tons of fun. Your friend will follow you but will go for fun activities around or if you make them happen ;). Make sure he gets most fun by the end of the night. Be careful, the city is expensive and people can be aggressive.
CONTROLS
W | Go Straight |
S | Go Back |
A | Go Left |
D | Go Right |
Mouse | Change View |
G | Interact |
Implementing GOAP
Goal Oriented Action Planning is done by creating goals for the NPC. These goals can be achieved by the actions which require a pre conditions and have a cost associated with them. Goals can be to have fun or to live and actions can be the things that make them happen liking flirting, getting drunk adds fun ( not that I condone). Pre- conditions are extra condition that we can add in the environment which limits the action of NPC and make it based on what events are fired in the scene. Like before the action “getting drunk” can occur there is a precondition that bartender serves the drink( that can have its own pre-condition that player has the money). This is quite useful as I can create situations and conditions as linear system and put everything together which would create a combinat effect and every gameplay would be quite different from each other making this game re-playable.
Challenges
The biggest challenge with GOAP is that once an action is approved by being the least costly and maximum goal priority, it is not possible to stop until the action is finished. So in my case, when my friend’s getting drunk action has started, he will complete it no matter what, even if other higher priority goal comes into picture. This is quite useful in SIMS type games and is achieved by A* algorithm. In the future I plan to modify the algorithm so that the action can be changed at any time depending on goal priority. There are so many different ways of achieving the desired AI affect in gameplay programming that it is quite cumbersome and a big commitment to select which way to go. In the future I plan to make some videos about pros and cons on various types of AI programming like GOAP, Behavior Trees, State machines and hardcoding ( yes, if else is also a way to make AI).
Disclaimer - This game is part of the AI Game Jam 2021. (Please play on full screen, this game is still in development and have some bugs. Please reach out to my discord to report any bugs)
Made by -
Akaash Garg - Discord ID - akaashG - [UTC +5.30]#9123
Apoorv Garg - Discord ID - apoorvgarg#0370
Status | Prototype |
Platforms | Windows |
Author | akaashG |
Genre | Simulation, Adventure |
Tags | 3D, artificial-intelligence |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Show post...
fun