Skip to content

AnirudhDesai777/ANAKIN_BREAKING_BAD

 
 

Repository files navigation

Foundation of AI

FAI project - Anakin breaking bad!

DALL·E 2023-12-14 12 50 23 - A Lego-themed scene in a futuristic training room  The setting includes a Lego warrior in full-body black armor, resembling a space knight, and Lego y

Requirements

Running the game

Ensure that you have all the dependecies installed. Refer to the Requirements section for more details. Run the following command in the project directory.

python gamevis.py

Objective:

In this engaging game, players take on the role of Anakin Skywalker, aiming to reach the "light goal" indicated by Yoda, which keeps Anakin on the path of good. However, the unique twist of the game is that players are encouraged to subtly manipulate Anakin towards the dark side, leading him to the "dark goal" represented by Palpatine.

Unlike traditional games, players cannot directly control Anakin's movements. Instead, they influence his actions through creative text-based phrases, which can be either positive or negative.

The game's core mechanic revolves around the 'Dark Pull' value, which fluctuates based on the player's ingenuity in phrase crafting. The higher the 'Dark Pull', the more enemies Anakin is driven to eliminate. Players must balance their strategy to ensure Anakin reaches his goal before his health depletes.

This game serves as an entertaining stress reliever and is designed for fun, not to endorse negativity.

Welcome to the dark side!

darkside.mp4

Methodology

Grid generation

  • BFS
  • A*

Bot navigation (Reinforcement learning)

  • MDP
  • Value iteration

Dynamic rewards

  • A curved exponential rewards function to create unique scenarios

Adjusting compassion or dark pull (NLP)

  • VADER (Valence Aware Dictionary For Sentiment Reasoning)
  • Sentence transformers

About

FAI project - Anakin breaking bad!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%