Sign in
Back to projects

JavaScript, CSS3 and PHP component

Slot machine

A slot machine rewritten as a clean Vue component, refereed by a home-made PHP API, with a CSS perspective reel effect.

Vue 2CSS3PHPMySQL

This slot machine comes from an earlier project, fully reworked and rewritten as a standalone Vue component.

When the player hits "Play", the component calls the API controller: the server knows the outcome and returns the three reel values, while the component simply displays them and announces the win. The machine is part of the API as a controller and a model, inside a framework I wrote myself.

The spinning reel effect relies on CSS perspective: the six images are placed automatically around an axis.

The idea is taken much further on naskot.fr, with three machines, a shared progressive jackpot and real-time spins.

A winning spin on the slot machine
A winning spin on the slot machine

Other projects

Julien JEAN

Fullstack TypeScript developer, open to remote work.

© 2026 Julien JEAN

Built with

Nuxt 4.5.2Vue 3.5.42PrimeVue 4.5.5Tailwind CSS 4.3.3TypeScript 5.9.3TypeORM 1.1.1Node.js 24.20.0