Skip to content

eamspoker/FrameGameAssets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Frame Game

Open Issues

The Frame Game is an in-progress crowdsourcing game that seeks to provide users with prompts for creative writing while encouraging them to create semantic role labelling annotations of their sentences.

Structure of Game

Blank diagram - Page 1

Scripts

Filename Type Scene Description
MenuScript.cs C# Script MainMenu Initiates the game, facilitates login with Facebook SDK
HomeScreenController.cs C# Script StartScreen (see green on flowchart) First screen of the game, includes terms & conditions, information about FrameNet, and gameplay instructions
GameScript.cs C# Script SRLGame (see blue on flowchart) Actual gameplay of the game, gathers frames from the backend, allows users to annotate their own work
ExampleController.cs C# Script ViewerMode Allows users to see others' annotated sentences
TextMeshPro/Examples & Extras/Scripts/CustomTextSelector.cs C# Script n/a Faciliates the interaction between the text elements and the user for text selecting, referenced by GameScript.cs and ExampleController.cs to create and display annotations.
StoredInfo.cs C# Script n/a Holds all the classes and structures that model FrameNet data that the files draw from
Backend/frameGameBackend.py Python Script n/a Sends and receives information from the game, is used to parse and communicate FrameNet data with the game.

Other Assets

The other assets include fonts, spritesheets, and plugins used by the game.

Tech Stack

  • Unity (C# for scripting)
  • Flask (Python) for the backend

Setting Up

  1. Download or clone the repository
  2. Place the Backend/frameGameBackend.py folder in the same folder as the FrameNet data
  3. Create a new project in [Unity](https://unity.com/learn)
  4. Replace the contents of the Assets folder with the contents of this repository, fill in the necessary information (i.e. app id for Facebook SDK use)
  5. Replace the contents of the Assets folder with the contents of this repository
  6. [Run](https://flask.palletsprojects.com/en/2.1.x/quickstart/) the flask backend at the folder where you placed it in (2)
  7. Run the game in Unity

License

Made by Emily Amspoker during the SUPERB REU, 2022.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published