debadeepsen / vuewordgame

A simple word game, built with Vue JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vuewordgame

A simple word game, built with Vue JS (2.0). Inspired by Hangman, it gives you a random (but common English) word, and asks you to guess it, letter by letter.

Live demo: https://debadeepsen.github.io/vuewordgame-demo/

Purpose

This is meant to serve as an educational example, as it demonstrates some very commonly used features of Vue JS

  • State
  • Computed Properties
  • Methods
  • List Rendering
  • Event Handling

This also shows how to build cool widgets such as a circular progress indicator (which, at the time of writing this, is coded into App.vue, but I intend to make it a standalone component some day).

Lastly, it is fun to play (as long as you don't cheat by peeking at Vue Devtools)!

Contribution

I'm always learning, and I invite contributions! If you would like to add on to the existing game, or improve upon performance or some other aspect, please submit a pull request. Just try not to make things too complicated. This is meant to be a hands-on guide for beginners, and I'd love to keep it that way.

Prerequisites

You need to have NodeJS and npm installed.

Installation and running

Clone

git clone https://github.com/debadeepsen/vuewordgame.git

Run

cd wordgame
npm i
npm run serve

About

A simple word game, built with Vue JS

License:GNU General Public License v3.0


Languages

Language:Vue 86.1%Language:HTML 7.1%Language:JavaScript 6.8%