Drag the background!
World: Gatekeeper

Owner: Sam Murphy  
API: Three (AB) (r3)
World type: No Mind

A mysterious wizard is guarding a locked gate. Three.js 3D World with built-in API calls. Navigate through keys. Get close to wizard and it is detected and he speaks. Uses OpenAI GPT API to generate a set of riddles to open the gate. See a complex prompt in 'messages'. Clone and Edit to change 'messages' to change the game. Wizard speech text is converted to audio with call to Google TTS (text-to-speech) API: https://cloud.google.com/text-to-speech/docs/reference/rest. Recovers audio and plays it. User types and hits return and user text is also converted to audio. Background music and sound effects. Three.js camera rotate and lighting. Loads 3D models from https://poly.pizza. Clone and Edit to change API keys.

Created: 23 Nov 2023
Modified: 4 Feb 2024

Type: Public. Plain JS.
View plain JS.

Get Embed code.
Get New window embed code.
Get Autorun embed code.

320 runs

Tweet this World:  

Run
Edit Must be logged in.
Update image Must be logged in.
Clone Must be logged in.
New Mind Only valid for Worlds that use Minds.
Change World type Must be owner.
Change API Must be owner.
Delete Must be owner.
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
 
Font:

Users retain ownership of user content.

Platforms      Stats      The name      Terms and conditions

Call for partners      Contact

Call for partners!
Ancient Brain is looking for a partner to co-write a JavaScript coding book for schools, to be used worldwide. This would be a course for students in learning to code from scratch. The book and course will be integrated into the Ancient Brain site. This is an opportunity for someone looking to develop a course and textbook to partner with a site to promote it. Read more.