Better HN
topnewbestaskshowjobs
Log inSign up

jamesfdickinson

29 karma · joined Apr 17, 2018 (8y ago) · 13 submissions

Submissions

comment 8y ago · link · parent

Thank you for the feedback, I'll fix that.

comment 8y ago · link · parent

Correct. Voice Coder is a guided tutorial for beginners, not a replacement for developing production code. It does allow for multi step answers, but is a high latency back and forth dialog with a smaller set of commands. The goal is to be extremely human friendly, not productive, to better understand the basics of coding.

comment 8y ago · link · parent

I tested your code and it works for me. Make sure you type 0IRK and nothing else like spaces or periods. or click this link https://voicecoder.net/game.html?id=0IRK

What browser and device are you using?

comment 8y ago · link · parent

I put it in the catagory kids education. Alexa only supports the kids section in the US right now. I may change that so it can be accessed worldwide.

comment 8y ago · link · parent

go to https://www.amazon.com/dp/B07HFWQPKN and enable the skill.

comment 8y ago · link · parent

You do not create an account on the website. Right now the only way is to open the Alexa skill and it will give you a 4 digit code for your game. After you open your game on the website you can continue adding rules to your game via Alexa. New game logic will update in the game in real time.

I would like to make a version 100% on device. A few have suggest how.

comment 8y ago · link · parent

Mostly yes. The difference is rather than changing values, you are creating event handlers, actions, and their values. You can only trigger actions on events the game already has and execute actions the game supports which is defined in the game template. With that said, there is no reason why it couldn't support all the events and actions from the core game engine it uses. For this release the focus was for beginners and the options were minimized.

comment 8y ago · link · parent

This game template was design for students with zero experience. So the create new objects command was omitted in the user defined rules. The game itself controls the box placement for this game. The goal of that game was to learn about events and actions.

I plan to add more game templates with the create object command for more advanced users. You can set it's properties, game physic values and so on. The game itself will need to implement and execute that command. The game template just tells the Game Creator what that current game supports. So the magic happens in the game code. Hit view source on the game if want to see it.

The project was built in a 2 weeks; server, Alexa integration, mini-game, and game creator logic. If the project gets any traction, I'd love to keep working on it.

comment 8y ago · link · parent

The project is designed to help students to understand the basic of coding logic using their voice. Think of it more like a coding lesson for beginners. Many at this level use drag and drop coding. Code.org has many drag and drop coding lessons. The difference here is it uses voice. The recordings are not part of the code produced, just plain text. This version cannot make production like code, just add game logic to an already created game template.

comment 8y ago · link · parent

The game template supplies the available events/action/value. The Game Creator guides you through the available options supplied by the template. It then tries to use a human speech like interface to receive the input, the game logic. Currently there is only one game template. Each new game template would need to supply it's own possible events/actions/values to suit it's needs.

A game template looks something like this: https://gist.github.com/jamesfdickinson/65b9f5a05f4902468c46...

comment 8y ago · link · parent

Great idea. I really like idea of not requiring an internet connection. Self contained projects are more reliable and portable. Also this project is aimed towards students so privacy is a real concern.

The way I built it should be easy to use another voice ai input. The Alexa module of the code just passes the commands to the Core logic. It's all built in node.js.

I built this for Alexa Skills Challenge: Tech for Good. https://devpost.com/software/code-by-voice . More details about how it was built can be found there.

12.

Voice Coder – Alexa skill to code by voice(voicecoder.net ↗)

54 points · by jamesfdickinson · 8y ago · 43 comments

comment 8y ago · link · parent

Another multiplayer minesweeper is http://minesweeper.io