In this paper, we present the project MACHS, a platform for the generation of serious games, i.e. courses in 3D environments for machine-tool training. The platform consists of two applications: an easy-to-use authoring tool for editing the courses and a 3D simulator for running them. In this paper, we describe the features and the functionalities of each part of the platform. We also describe the structure of the XML files designed for the storage of the information about courses, machines, cameras, interaction, etc. and how we use them to link the editor and the simulator.