All Projects → tkshill → Quarto

tkshill / Quarto

Licence: MIT License
A working example of the Quarto board game using Elm and Netlify. An exploration of game development, OSS, and functional programming.

Programming Languages

elm
856 projects
HTML
75241 projects

Projects that are alternatives of or similar to Quarto

Caribay
A PEG Parser Generator with Semi-Automatic Error Recovery based on LPeg(Label)
Stars: ✭ 14 (-6.67%)
Mutual labels:  hacktoberfest2021
typeorm-example
Example Web API for TypeORM + TypeDI + routing-controllers
Stars: ✭ 27 (+80%)
Mutual labels:  example
git-stats
No description or website provided.
Stars: ✭ 16 (+6.67%)
Mutual labels:  hacktoberfest2021
nodejs-cron-job-must-know
it is an example of running node.js script with every certain period(cron job)
Stars: ✭ 35 (+133.33%)
Mutual labels:  example
graphql-reason-server-example
An example project to write a GraphQL server using Reason
Stars: ✭ 19 (+26.67%)
Mutual labels:  example
moxer-code
Moxer Theme brings your DX to another level.
Stars: ✭ 37 (+146.67%)
Mutual labels:  hacktoberfest2021
CPP-DSA
C++ Data Structures and Algorithms | College Placement Course taught by renowned faculties of Apni Kaksha (Aman Dhattarwal).
Stars: ✭ 53 (+253.33%)
Mutual labels:  hacktoberfest2021
EmuConfigurator
Emuflight Configurator is a cross-platform configuration tool for the Emuflight flight control system
Stars: ✭ 115 (+666.67%)
Mutual labels:  hacktoberfest2021
cdi-events-playground
Demonstrates the capabilities of Java EE CDI events
Stars: ✭ 23 (+53.33%)
Mutual labels:  example
nova-page-manager
Page manager for Laravel Nova
Stars: ✭ 35 (+133.33%)
Mutual labels:  hacktoberfest2021
magento2-showoutofstockprice
This Magento2 Module adds prices and the add-to-cart button to out-of-stock configurable products.
Stars: ✭ 22 (+46.67%)
Mutual labels:  hacktoberfest2021
waypoint-plugin-examples
An example repository that demonstrates how to create and run an external Waypoint plugin
Stars: ✭ 16 (+6.67%)
Mutual labels:  example
credit-card-example
An example of credit card made by using Rivets Js
Stars: ✭ 23 (+53.33%)
Mutual labels:  example
WWCodePython
Content, Code & Resources for WWCodePython Events
Stars: ✭ 183 (+1120%)
Mutual labels:  hacktoberfest2021
PoC-Examples
This repository contains synthesizable examples which use the PoC-Library.
Stars: ✭ 27 (+80%)
Mutual labels:  example
go-grpc-bidirectional-streaming-example
gRPC bidirectional streaming example written in golang
Stars: ✭ 83 (+453.33%)
Mutual labels:  example
Chat-Server
Simple chatroom in C
Stars: ✭ 74 (+393.33%)
Mutual labels:  example
CuboidalDrift
A casual, fun, 3D indie game made with Unity
Stars: ✭ 13 (-13.33%)
Mutual labels:  hacktoberfest2021
medly-components
🧩 Medly components provides numerous themable react components, each with multiple varitaions of sizes, colors, position etc.
Stars: ✭ 66 (+340%)
Mutual labels:  hacktoberfest2021
TablutCompetition
Software for the Tablut Students Competition
Stars: ✭ 17 (+13.33%)
Mutual labels:  board-game

banner

Help Wanted MIT License Netlify Status Contributors Open Issues Virtual Coffee Hacktoberfest

Welcome to Quarto!

What is Quarto?

Hey, thanks for stopping by. This is an open-source, digital representation of the Quarto board game written in the Elm programming language.

Why a random board game?

This project was mainly created to provide an example of a fully functional, professional, accessible web app created entirely in Elm. It is also a space where people interested with working with Elm and/or are interested in open-source have a safe environment to practise with the help and guidance of the project maintainers. We happily accept anyone and everyone who wants to contribute, provided they abide by the code of content (link in the Table of Contents below).

Check out the live Demo!

Table of Contents

Roadmap

The plan is to create both a single player and multiplayer representation of the game. The front elm will be primarily designed using the Elm programming language. All the code will be freely available for use and reuse where possible.

This will likely be a long running project, with many software themes explored. Some of the concepts we hope to cover are:

  • Functional Programming techniques
  • Domain driven design and advanced domain modelling
  • API design
  • 3D graphics and design
  • Animations in the browser
  • Machine learning

Phase 1 - October 1st, 2020 to October 31st, 2020 - (Complete)

  • Working implementation of the concept
  • human vs player model implemented
  • Randomized moves from the "computer player"
  • Basic responsiveness
  • Basic accessiblity markers

Phase 2 - October 1st, 2021 - October 31st, 2021 (Active)

  • Upgrade to elm-spa version 6
  • Add a better landing page with instructions
  • UX upgrade
  • Adding Test Suite
  • CI/CD pipeline
  • Basic Keyboard functionality

Phase 3 - November 1st, 2021 - December 31st, 2021 (Upcoming)

  • 3D gameboard and game pieces (as part of the 5th Elm Game Jam
  • backend server API design and implementation
  • human vs human options
  • keyboard-only functionality
  • Version 1 release

Phase 4 - April 1st, 2021 - July 31st (Upcoming)

  • "Smarter computer" player
  • ML implementation for computer player

Run and Install

  1. If you don't have it already, download and install NODE.js
  2. If you don't have it already, install the appropriate git for your OS.
  3. Download and install Elm
  4. Create a local copy of this repo on your machine. You do not have to fork.
  5. In a shell terminal/command line, navigate to the Quarto folder in the repository
  6. Run the live development server with:
npm start
  1. Navigate to the localhost port indicated by the server. (Default should be localhost:8000)
  2. While not required, it is HIGHLY recommended that you install the Elm tooling plugin for your Code Editor/Integrated Develoment Environment if you wish to write Elm locally on your own machine. If you're using VSCode, you can find the Elm tooling plugin in the extensions (you'll want the blue Elm tooling one, not the Elm one, which has been deprecated).

A more in-depth guide can be found in the CONTRIBUTING

Tests

Coming Soon!

Contributing

The incentive to start this project was out of a desire to learn more about good front-end desire and accessiblity, but also as part of the 2020 Hacktoberfest initiative. This is an open source project that accepts anyone and everyone who is willing to help out. If you are unsure how to do your first contributions, please check out the contributing file that lays out exactly how to get involved in open source.

Code of Conduct

This is an inclusive space for education, learning and healthy communication. We ask that before you engage with the repository, please check out the Code of Conduct. This repo will serve as a learning experience not only in functional programming and UI design, but also in good community interactions. As much as possible, all contributors should feel safe, respected, and appreciated for their efforts.

What is Quarto

Quarto Board and Pieces

CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=114552

From Wikipedia, the free encyclopedia -

Quarto is a board game for two players invented by Swiss mathematician Blaise Müller. It is published and copyrighted by Gigamic.

The game is played on a 4×4 board. There are 16 unique pieces to play with, each of which is either:

tall or short; red or blue (or a different pair of colors, e.g. light- or dark-stained wood); square or circular; and hollow-top or solid-top. Players take turns choosing a piece which the other player must then place on the board. A player wins by placing a piece on the board which forms a horizontal, vertical, or diagonal row of four pieces, all of which have a common attribute (all short, all circular, etc.).

You can think of it as tic tac toe for adults. It's honestly a brilliant game that strikes just the right balance of strategy but also fun and ease of pickup.

Affiliations

This app has no affiliation with the official Quarto game, and will never ever become any sort've profit-seeking venture based on the Quarto IP. This is strictly for educational and entertainment purposes. If you wish to purchase the official game (we highly recommend it), you can do so here at the official Gigamic website.

Hacktoberfest!

This project was part of the 2020 Hacktoberfest initiative, designed to get more developers, especially newbies, involved in open source projects and remote contributions.

A few key points on what this means:

  • Some issues were given the Hacktoberfest label, meaning that we are making them available to be tackled during the month of October onwards
  • For the month of October, anyone who wants to contribute can ask to pair on an issue, and the maintainers will schedule a 60-90 minute session where we walk you through getting set up, working through the issue, and submitting a PR. This has been extended indefinitely. You should request to pair!
  • The label good first issue has been included on some issues. Those issues will be assigned exclusively for new developers/people with limited github/git/OSS experience
  • Please ask questions about anything you are confused about. We've made some issue templates to help guide people on how to structure their questions and concerns, but feel free to express yourself, as long as it's in a kind and conscientious manner.

Tech Stack (current)

  • Elm v 0.19.x as the front-end language of choice
  • Elm-spa as a single page app framework for use with the Elm language
  • Elm-UI for content and layout framework
  • Elm test for unit testing

F.A.Q.

Why not a library/package like other OSS projects

This repository seeks to address the lack of beginner resources on project management and tooling in the programming community. There are many language tutorials and articles highlighting coding styles and techniques, but a dearth of full fledged applications that are parsable for new and junior developers, and fewer still that are geared toward learning how to build end to end applications. Every part of the development of this project will be kept public and avaialable and everyone and anyone are encouraged to be a part of its development. For the better part of a year ideally, this will exist as a living example of a elm based project, and follow as closely as possible modern, professional design and deployment techniques for web applications.

Why Elm?

We like Elm. A lot. We're kind of obsessed.

But really, we genuinely like functional programming, and we love Elm, which we feel to be an accessible way to learn and develop robust software with functional programming. The maintainers are dedicated to making Elm accessible for anyone who wants to learn (a value echoed by the greater elm programming community at large) and we are will to pair with anyone who wishes to use this codebase as an introduction to use the language on a real project.

How flexible are the project goals?

We really want to open up user input as to the direction of certain aspects of project design and functionality, but some parts of the scope are unchanging. At this point, we can say with a fair amount of certainty:

  • Elm will be the primary development language for the front-end part of the application. The goal isn't to create a web game that happens to use elm. It's to create an Elm-based game. If you don't like Elm or don't want to contribute to an Elm project, we may explore other languages on the back end, and a little bit of javascript interop, but these will be few and far between
  • Elm-UI will be the main styling framework utilized. Part of the goals for the maintainer are to use this project to get a greater understanding of Elm-UI, an opinionated layout and styling framework that takes a few key departures from traditional html and css. So this may not be the ideal project if you're looking to polish up your css styling
  • The end goal is a fully functional PWA with 3D graphics. Even if all the functionality isn't implemented from the start, it's a when, not an if.
  • No monetization of any part of this, ever.

We feel like this is the bare minimum that allows the maintainers to realize the project goals and also provides some stability for the people who wish to contribute. However, this still leaves a lot of things we are flexible on (and actively encourage contributions in)

  • Design: The visuals of the project are completely up in the air. The only restricition is that whatever designs are chosen meet a high standard of accessibility.
  • Business logic: We try to do good, functional design here but are interested to see the techniques people come up with for certain solutions.
  • Build tools/pipeline: Currently, we're using netlify, and to be honest, it's far and above meeting our requirements, but there's still a lot more that could be done with things like github actions, and other CI/CD tooling and we're happy to get advice on that front.
  • Tests, tests, tests: Unit, integration, end-to-end and user testing are all desperactely needed
  • Documentation: We like docs. We need docs. We need up to date docs.

If any of that sounds interesting, don't hesistate to take a look at one of our issues and dive in.

For more details on Project Goals, please check out the Quarto Github Project where tasks, thoughts, bugs, and features are tracked.

For more long form, in depth content, check out the project wiki where you can find blog style posts and articles about technology and project management.

Contact

The main way of submitting questions, comments, concerns, or kudos about this project is through the submission of issues. Alternatively, you can reach the author at @tkshillinz on Twitter or [email protected]

Authors

This library was authored by Kirk Shillingford, who is a big nerd.

Contributors

Core Contributors

Our other core contributor is Dominic Duffin.

General Contributors

Acknowledgments

A huge thank you to the Virtual Coffee community who have encouraged, supported, and contributed to this project.

License

This repository uses the MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].