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

https://github.com/hoangtran0410/playyourgames

Play Your Games with Your Friends. Demo
https://github.com/hoangtran0410/playyourgames

client-side offline-games online-games socket-io

Last synced: 2 months ago
JSON representation

Play Your Games with Your Friends. Demo

Awesome Lists containing this project

README

        

# playyourgames

## What's this

Đây là 1 trang web cho phép:

## **Web:**

- Hỗ trợ nhiều chủ đề (themes)
- Hỗ trợ nhiều ngôn ngữ (languages)
- UI đơn giản, dễ sử dụng
- Responsive (dự là sẽ có game cho mobile)
- Code sạch, tốt, dễ dàng mở rộng project, thêm game

## **Game:**

- Có nhiều game để chọn, chia làm nhiều thể loại, chia làm 2 nhánh chính:

- **Game offline** không yêu cầu kết nối mạng sau khi load xong game: game 2 người chơi (cùng 1 máy) cũng thuộc thể loại này.

- **Game online** (chơi với người khác): có thể chọn 1 game chơi luôn ko cần tạo phòng, khi đó người chơi được ghép ngẫu nhiên.

- Có chức năng **tìm kiếm**: theo top trending, thể loại, tên game.

- Có thể lấy link game **share** cho người khác.

## **Phòng:**

- Cho phép **tạo phòng** để chơi game: - Cho phép chọn **mode** Public (hiển thì với mọi người) hoặc Private. - Chọn **game** cho phòng khi đang tạo phòng ?! hoặc chọn sau.

- Có thể share link mời bạn bè vào phòng để cùng chơi.

- Có khung **chat** với nhau khi chơi.

- Xem **danh sách** phòng, **tìm** kiếm phòng.

## **Người chơi:**

- Có thể **chơi game ngay** không cần tài khoản.

- Cho phép **tạo tạo khoản**, **đăng nhập** để được lưu tiến trình chơi (đã chơi được game nào, bao nhiêu điểm, xem xếp hạng).

## Todo

- [] Update Js Dom

- [Re:Dom - Homepage -> I choose this](https://redom.js.org/)

- [svelte](https://svelte.dev/)

- [sinuous](https://sinuous.netlify.com/)

- [Yo-yo.js](https://github.com/maxogden/yo-yo#yo-yojs)

- [BetterDom.js - Tips](https://www.smashingmagazine.com/2014/01/writing-a-better-javascript-library-for-the-dom/)

- [BetterDom.js - Repo](https://github.com/chemerisuk/better-dom)

- [Interact.js - Home page](https://interactjs.io/)

- [ ] Sematic UI and themes:

- [Sematic UI - Get started](https://semantic-ui.com/introduction/getting-started.html)

- [Theme](https://semantic-ui.com/usage/theming.html)

- [ ] Lodash / Underscore:

- [Homepage](https://lodash.com/docs/4.17.15)

- [ ] Auth socket:

- [Tutor Vietnamese](https://viblo.asia/p/authentication-cho-socketio-maGK78n9Zj2)

- [ ] Muuri:

- [Github repo](https://github.com/haltu/muuri)

- [ ] Multiple servers:

- [Stack overflow](https://stackoverflow.com/questions/46801096/socket-io-switch-between-localhost-server)

- [ ] Change layout (for offline game, not require connect to server at the first time)

- [ ] Responsive for mobile.

- [x] REMOVED! ~~Update Translator~~ (Old way is good enough).

- [Big tips with i18n](https://medium.com/@WebReflection/easy-i18n-in-10-lines-of-javascript-poc-eb9e5444d71e)

- [Tips](https://codeburst.io/translating-your-website-in-pure-javascript-98b9fa4ce427)