Skip to content

This verse is a space where you can enjoy the Christmas maze together. This space was implemented on the gather town, and control definition is possible with the desired behavior through a teachable machine.

License

teachableverse/christmas-maze-gathertown-teachablemachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christmas Maze on Gather Town using Teachable Machine

This verse is a space where you can enjoy the Christmas maze together online on the gather town and define the your desired behavior using the teachable machine.

Gather Town is a place where you can create a map with a metaverse video conferencing platform and communicate with various activities and communication through avatars in that map. There are many cases where Gather Town is used as a playground, and one of them is to play a maze search game.

It is not recommended to find the maze directly through mouse control because it finds the path to the destination on its own through the pathfinding Algorithm. Like finding a maze made of wood or the like offline, it can be implemented on Gather Town similarly, and then you can play a maze game using a teachable machine to define the still, up/down, and left/right behavior.

Video Label

Features

  • Multiple people can come online and play against each other.
  • People with physical disabilities can easily participate in the game because they can learn with the behavior they want.
  • You can actually enjoy it as if you were playing a maze pathfinding game like an offline space.

Preparation

To make maze on Gather Town

img

To define behaviors using Teachable Machine

img

The wef1yJup2 model provided by default has been learned as follows.

stay up down right left
img img img img img

How to play

  1. Access the pre-made maze town. : https://gather.town/app/4BDf97jEEOpc6l8c/Christmas%20maze
  2. Download the source code from the following github address. : https://github.com/teachableverse/christmas-maze-gathertown-teachablemachine
  3. Run Python program app.py. >> python app.py
  4. Enter 127.0.0.1:5001 in the Chrome browser.
  5. Click the Load button to load the teachable machine model (wef1yJup2) that has already learned the behaviors. If you want to load your own model, enter the ID of the model and click the Load button.
  6. Click the Gather Town window so that the key message can be entered into Gather Town.
  7. Control Gather Town's avatar with predefined behaviors using cam.

How to define your own behavior.

You can train the machine learning model in the following order with the Teachable Machine Pose Project.

  1. Access https://teachablemachine.withgoogle.com/ to create a Pose Project.

img

  1. Collect data samples by adding classes in the order of stay-up-down-right-left.

img

  1. Click the Train Model to train the model with the collected dataset.

img

  1. Make sure that the model you trained is functioning normally.

img

  1. Click the [Upload my model] button to upload the trained model to the cloud.

img

  1. Check the uploaded model path and id.

img

  1. Enter the id into the input form on the page "http://127.0.0.1:5001/" and click [Load] to apply the trained model.

img

More

About

This verse is a space where you can enjoy the Christmas maze together. This space was implemented on the gather town, and control definition is possible with the desired behavior through a teachable machine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published