An open API service indexing awesome lists of open source software.

https://github.com/cvera08/multi-games-artificial-intelligence-js

Web Based Games where you can Play against AI
https://github.com/cvera08/multi-games-artificial-intelligence-js

ai artificial-intelligence css game-development games js stylesheets web website

Last synced: 2 months ago
JSON representation

Web Based Games where you can Play against AI

Awesome Lists containing this project

README

          

Multi Games

Web-based by using Artificial Intelligence.

---

## Live Demo

:point_right: [multi-ai-web-games][Demo] :point_left:

[Demo]: https://cvera08.github.io/multi-games-artificial-intelligence-js/

[index.html]: https://github.com/cvera08/multi-games-artificial-intelligence-js/blob/master/index.html

---

## [![](https://i.ibb.co/2kHmnLX/image.png)](#table-of-contents)Table of contents
- [Getting started](#getting-started)
- [Install Git locally](#install-git-locally)
- [Configure this project](#configure-this-project)
- [Quick run](#quick-run)
- [Play Games directly in the Browser](#play-games-directly-in-the-browser)
- [GitHub Actions Support](#github-actions-support)
- [Deploy Changes with GHA](#deploy-changes-with-GHA)
- [Additional Commands](#additional-commands)
- [Miscellaneous](#miscellaneous)
- [Primary Authors](#primary-authors)
- [Other Contributors](#other-contributors)
- [MIT license](#mit-license)
- [Change Log](#change-log)

___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#getting-started)Getting started

#### Install Git locally



You can follow one of these links:

| Option | Link | Command |
| ------------------- | ---------------------------------------------------------------- | ----------------------------------------------------- |
| ***Windows, Linux, Mac***| [git-scm.com/Getting-Started-Installing-Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)| _👈 Select according to your OS_ |
| ***Homebrew*** | [atlassian.com/install-git](https://www.atlassian.com/git/tutorials/install-git) | `brew install git` |

___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#configure-this-project)Configure this project

Open your console/terminal and run this:

```sh
cd Desktop #or: >cd
git clone https://github.com/cvera08/multi-games-artificial-intelligence-js.git
cd multi-games-artificial-intelligence-js
```

___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#quick-run)Quick run

- Open your favorite browser
- Drag and drop the [_index.html_][index.html] file into your navigator
- -_Or just open the [index.html][index.html] file from your browser_-
___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#play-games-directly-in-the-browser)Play Games directly in the Browser

- Once you open the games in your local browser
- Choose your favorite game. The options are:
- [Snake](https://cvera08.github.io/multi-games-artificial-intelligence-js/Snake%20AI/index.html)
- [Tic Tac Toe](https://cvera08.github.io/multi-games-artificial-intelligence-js/Tic%20Tac%20Toe%20AI/index.html)
- [Pong](https://cvera08.github.io/multi-games-artificial-intelligence-js/Pong%20AI/index.html)
- [Soccer Car](https://cvera08.github.io/multi-games-artificial-intelligence-js/Soccer%20Car%20AI/index.html)
- Hit the **START** button
___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#github-actions-support)GitHub Actions Support

This repository has the support for its own [GHA](https://github.com/cvera08/multi-games-artificial-intelligence-js/actions) as well

#### Deploy Changes with GHA

In this case, it is pretty straightforward:

- Just commit a new change
- Go to the [GitHub Actions](https://github.com/cvera08/multi-games-artificial-intelligence-js/actions) of this Repository
- There you will have a yellow/progress of your deploy
- Once finished it will be red or green
- If green status, just reload the [site][Demo] URL without cookies (You can do it with cmd + shift + r)


![image](https://github.com/cvera08/multi-games-artificial-intelligence-js/assets/28716586/37072471-74c9-47d4-a036-4200e38e3fa5)

![image](https://github.com/cvera08/multi-games-artificial-intelligence-js/assets/28716586/093d2f16-cab6-4f97-aaad-fee36010a4e9)

_You can see the list of deployments at [All Deployments](https://github.com/cvera08/multi-games-artificial-intelligence-js/deployments) GH Page_

___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#additional-commands)Additional Commands

N/A

___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#miscellaneous)Miscellaneous

N/A

___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#primary-authors)Primary Authors

* __[Carlos Vera](https://www.linkedin.com/in/carlos-vera-06a6b053)__

[@cvera08](https://github.com/cvera08) is the current creator and maintainer of the code and has written much of the
current code base, including complete refactors, bug fixing and general improvements to the existing code base.
He has been assisting with maintenance and adding project documentation as well

___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#other-contributors)Other Contributors

N/A

___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#mit-license)MIT license

Copyright (c) 2024 Carlos Vera

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

___

## [![](https://i.ibb.co/2kHmnLX/image.png)](#change-log)Change Log

Stable Builds:

* Apr 25, 2024 -- v2.0.5
* Fix Table of Contents

* Apr 24, 2024 -- v2.0.4
* Fix Play Games Link

* Apr 8, 2024 -- v2.0.1
* Project Documentation

* Apr 3, 2024 -- v1.1.9
* Snake Game

* Mar 30, 2024 -- v1.1.8
* Soccer Game

* Mar 27, 2024 -- v1.1.5
* Pong Game

* Mar 20, 2024 -- v1.0.2
* Main HTML Page

* Mar 19, 2024 -- v1.0.0
* Initial Project