Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pinex Server

A backend game server for the Italian card game Pinnacola, built with Elixir and Phoenix Channels. This WebSocket-based server orchestrates multiplayer gameplay for the Pinex Client, a mobile app developed in Unity and C# for iOS and Android.

System Requirements

  • Elixir >= 1.16
  • PostgreSQL
  • Redis

Features

  • Bot Client: A pure Elixir bot to play against when no other players are online.
  • Game Modes: Supports 1v1 and 2v2 game sessions.
  • Real-Time Admin Dashboard: Cached using Redis for efficient monitoring.
  • In-App Purchase Shop: Integrated with Google Play Services and Apple Game Center.
  • User Authentication: Supports Google Play Services (Android) and Apple Game Center (iOS).
  • Rewarded Advertisements: Monetization system for players.
  • Rankings: Global and local leaderboards.

Setup

  1. Clone this repository.
  2. Ensure PostgreSQL and Redis are installed and running.
  3. Configure the server by updating the config/config.exs file with your settings, including Google Play Services and Apple Game Center credentials for user authentication.
  4. In the config/dev.exs and config/prod.exs files, configure the path for static assets to specify the location from which user avatars are retrieved.
  5. Run mix ecto.setup to initialize the PostgreSQL database and apply migrations.
  6. Run mix test or mix cover to execute integration tests.
  7. Start the Phoenix server with mix phx.server.

Try It Now

The Pinex Server powers the Pinex Client, a cross-platform mobile app built with Unity and C# for iOS and Android. To use the client, this server must be running.

Notes

  • Ensure proper configuration of Google Play Services and Apple Game Center in config/config.exs for authentication and in-app purchases.
  • The server relies on Phoenix Channels for real-time WebSocket communication with clients.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages