Sure! Here's a simple implementation of Tetris with pentominoes and a larger board using JavaScript within a single HTML file:
This code creates a simple pentris game with a larger board (20x10) and enables keyboard controls for playing. Each pentomino is represented by different 1s and 0s configurations. The game loop continuously updates the state of the game and renders it on the canvas. You can play by pressing the arrow keys to move and rotate the pieces.
Note: This implementation is a basic one and may require further improvements, such as scoring, levels, and better piece generation strategies, to make it a fully featured and challenging game. Feel free to enhance it according to your preferences.